Fixed server not sending a status update for an item if the condition of the item changes directly from 100 to 0

This commit is contained in:
Regalis
2017-03-27 23:44:09 +03:00
parent 1a3c18c727
commit 2a5a2bc6f6

View File

@@ -358,6 +358,7 @@ namespace Barotrauma
if (submarine==null || !submarine.Loading) FindHull();
condition = 100.0f;
lastSentCondition = 100.0f;
XElement element = prefab.ConfigElement;
if (element == null) return;