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

This commit is contained in:
Joonas Rikkonen
2018-09-12 11:43:57 +03:00
parent ae70b973dd
commit a403ca44c5

View File

@@ -500,7 +500,6 @@ namespace Barotrauma
{
while (syncItemsDelay > 0.0f || (GameMain.Client != null && GameMain.Client.MidRoundSyncing))
{
syncItemsDelay -= CoroutineManager.DeltaTime;
yield return CoroutineStatus.Running;
}