From 9d4f5ff87ccf977d181e2db9e9023d00e6ed2290 Mon Sep 17 00:00:00 2001 From: Redstonneur1256 <29004178+Redstonneur1256@users.noreply.github.com> Date: Sat, 20 Jan 2024 15:37:18 +0100 Subject: [PATCH] Fix wait instruction inconsistency (#9479) --- core/src/mindustry/logic/LExecutor.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index b7f5163e60..44e03ef12c 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -1230,7 +1230,6 @@ public class LExecutor{ public int value; public float curTime; - public long frameId; public WaitI(int value){ this.value = value; @@ -1247,11 +1246,7 @@ public class LExecutor{ //skip back to self. exec.var(varCounter).numval --; exec.yield = true; - } - - if(state.updateId != frameId){ curTime += Time.delta / 60f; - frameId = state.updateId; } } }