Fixed item removal by SecondaryUse not being synced

This commit is contained in:
Joonas Rikkonen
2018-03-08 23:54:28 +02:00
parent e1f96480e1
commit 03fa2a2e1b
@@ -1205,7 +1205,10 @@ namespace Barotrauma
} }
} }
if (remove) Remove(); if (remove)
{
Spawner.AddToRemoveQueue(this);
}
} }
public List<ColoredText> GetHUDTexts(Character character) public List<ColoredText> GetHUDTexts(Character character)