public override void ProcessPacket(ILSShipItems packet, NebulaConnection conn) { if (IsHost) { Player player = playerManager.GetPlayer(conn); if (player != null) { playerManager.SendPacketToOtherPlayers(packet, player); } } // TODO: Shouldn't we call this also on host ?? if (IsClient) { SimulatedWorld.OnILSShipItemsUpdate(packet); } }
public void ProcessPacket(ILSShipItems packet, NebulaConnection conn) { SimulatedWorld.OnILSShipItemsUpdate(packet); }