Reapply "OBT1.1.0 Merge branch 'dev_pte' into dev"
This reverts commit 046483b9da.
This commit is contained in:
@@ -434,7 +434,7 @@ namespace Barotrauma
|
||||
if (GameMain.NetworkMember is { IsClient: true }) { return; }
|
||||
while (spawnOrRemoveQueue.Count > 0)
|
||||
{
|
||||
var spawnOrRemove = spawnOrRemoveQueue.Dequeue();
|
||||
if (!spawnOrRemoveQueue.TryDequeue(out var spawnOrRemove)) { break; }
|
||||
if (spawnOrRemove.TryGet(out Entity entityToRemove))
|
||||
{
|
||||
if (entityToRemove is Item item)
|
||||
|
||||
Reference in New Issue
Block a user