Skip to content

Commit

Permalink
demo: fix console input immediately ending demo
Browse files Browse the repository at this point in the history
Resolves #1480.
  • Loading branch information
rr- committed Sep 3, 2024
1 parent 1a42b86 commit 9283375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- fixed `/give` console command confusing logging around mismatched items (#1463, regression from 3.0)
- fixed `/flip` console command misreporting an already enabled flipmap as off (regression from 4.0)
- fixed console commands causing improper ring shutdown with selected inventory item (#1460, regression from 3.0)
- fixed console input immediately ending demo (#1480, regression from 4.1)
- improved level load times
- improved logs module names readability
- improved crash debug information on Windows
Expand Down
1 change: 1 addition & 0 deletions src/game/phase/phase_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ static PHASE_CONTROL Phase_Demo_Run(int32_t nframes)
// Discard demo input; check for debounced real keypresses
g_Input = m_OldInput;
Input_Update();
Shell_ProcessInput();
if (g_InputDB.any) {
m_State = STATE_FADE_OUT;
goto end;
Expand Down

0 comments on commit 9283375

Please sign in to comment.