Inventory sync fix (component index included in events created when the server receives an inventory update from a client).
This commit is contained in:
@@ -228,7 +228,7 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GameMain.Server.CreateEntityEvent(Owner as IServerSerializable, new object[] { NetEntityEvent.Type.InventoryState });
|
CreateNetworkEvent();
|
||||||
|
|
||||||
foreach (Item item in Items.Distinct())
|
foreach (Item item in Items.Distinct())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user