From 2a5a2bc6f6032d9a142ada153eb022eee58a7715 Mon Sep 17 00:00:00 2001 From: Regalis Date: Mon, 27 Mar 2017 23:44:09 +0300 Subject: [PATCH] Fixed server not sending a status update for an item if the condition of the item changes directly from 100 to 0 --- Subsurface/Source/Items/Item.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Subsurface/Source/Items/Item.cs b/Subsurface/Source/Items/Item.cs index 95a0abacb..e40515ec9 100644 --- a/Subsurface/Source/Items/Item.cs +++ b/Subsurface/Source/Items/Item.cs @@ -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;