Skip to content

Commit

Permalink
Fix Wait for Key when Maniac Patch is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Apr 12, 2023
1 parent eb6c71f commit dee1546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ bool Game_Interpreter::CommandWait(lcf::rpg::EventCommand const& com) { // code
return true;
}

if (maniac && com.parameters.size() > 1) {
if (maniac && com.parameters.size() > 1 && com.parameters[1] != 1) {
int wait_type = com.parameters[1];
int mode = 0;

Expand Down

0 comments on commit dee1546

Please sign in to comment.