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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user