Skip to content

Commit

Permalink
stage: fix transition for demo with skipped frames
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Jun 18, 2023
1 parent 31410b6 commit 00a5945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stage.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ static LogicFrameAction stage_logic_frame(void *arg) {
if(!--fstate->transition_delay) {
stage_finish(GAMEOVER_WIN);
}
} else {
} else if(!(should_skip_frame(fstate) && stage_is_demo_mode())) {
update_transition();
}

Expand Down

0 comments on commit 00a5945

Please sign in to comment.