Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets

This commit is contained in:
Regalis
2016-04-20 17:19:38 +03:00
parent a45f58cd08
commit e33f30dad1
21 changed files with 597 additions and 177 deletions

View File

@@ -213,9 +213,9 @@ namespace Barotrauma
if (linkedTo != null)
{
foreach (MapEntity e in linkedTo)
for (int i = linkedTo.Count - 1; i >= 0; i-- )
{
e.RemoveLinked(this);
linkedTo[i].RemoveLinked(this);
}
linkedTo.Clear();
}