From a403ca44c5e21d820b2dbe3263a30531ec9d0eeb Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Wed, 12 Sep 2018 11:43:57 +0300 Subject: [PATCH] Fixed inventory sync delay being decremented in two places, causing the delay to be 0.5 seconds instead of the intended 1 s. Closes #788 --- Barotrauma/BarotraumaClient/Source/Items/Inventory.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Barotrauma/BarotraumaClient/Source/Items/Inventory.cs b/Barotrauma/BarotraumaClient/Source/Items/Inventory.cs index c4a963467..135076d9e 100644 --- a/Barotrauma/BarotraumaClient/Source/Items/Inventory.cs +++ b/Barotrauma/BarotraumaClient/Source/Items/Inventory.cs @@ -500,7 +500,6 @@ namespace Barotrauma { while (syncItemsDelay > 0.0f || (GameMain.Client != null && GameMain.Client.MidRoundSyncing)) { - syncItemsDelay -= CoroutineManager.DeltaTime; yield return CoroutineStatus.Running; }