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:
@@ -461,6 +461,11 @@ namespace Barotrauma
|
||||
|
||||
InsertToList();
|
||||
ItemList.Add(this);
|
||||
|
||||
foreach (ItemComponent ic in components)
|
||||
{
|
||||
ic.OnItemLoaded();
|
||||
}
|
||||
}
|
||||
|
||||
public override MapEntity Clone()
|
||||
|
||||
Reference in New Issue
Block a user