Fixed items attached mid-round by other clients or the host being impossible to interact with and occasionally being attached to an incorrect position. Closes #296

This commit is contained in:
Joonas Rikkonen
2018-02-28 14:01:38 +02:00
parent 2585cc9873
commit 74ef5c6ea6
5 changed files with 40 additions and 18 deletions
@@ -461,6 +461,11 @@ namespace Barotrauma
InsertToList();
ItemList.Add(this);
foreach (ItemComponent ic in components)
{
ic.OnItemLoaded();
}
}
public override MapEntity Clone()