diff --git a/src/scripting/zscript/zcc_compile.cpp b/src/scripting/zscript/zcc_compile.cpp index 316e39f37..b11cf10bb 100644 --- a/src/scripting/zscript/zcc_compile.cpp +++ b/src/scripting/zscript/zcc_compile.cpp @@ -3407,7 +3407,6 @@ void ZCCCompiler::CompileStates() if (!statedef.SetWait()) { Error(st, "%s before first state", st->NodeType == AST_StateFail ? "Fail" : "Wait"); - continue; } break; @@ -3415,7 +3414,6 @@ void ZCCCompiler::CompileStates() if (!statedef.SetLoop()) { Error(st, "LOOP before first state"); - continue; } break;