diff --git a/src/game_interpreter.cpp b/src/game_interpreter.cpp index 3b78316b8c7..b1113dc1ac8 100644 --- a/src/game_interpreter.cpp +++ b/src/game_interpreter.cpp @@ -3057,6 +3057,11 @@ bool Game_Interpreter::CommandEndLoop(RPG::EventCommand const& com) { // code 22 break; } + // Jump past the Cmd::Loop to the first command. + if (index < (int)frame->commands.size()) { + ++index; + } + return true; }