Skip to content

Commit

Permalink
Fix bug returning to the game screen from the load screen
Browse files Browse the repository at this point in the history
Pressing Ctrl+L to go to the Load screen during the AI's
turn is a Straciatella feature not present in Vanilla,
however cancelling the load screen did not work, it took
you to the Options screen instead.
  • Loading branch information
momoko-h committed Apr 28, 2024
1 parent a5a0291 commit b8aa5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Tactical/Turn_Based_Input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ void GetKeyboardInput(UIEventKind* const puiNewEvent)
{
gfSaveGame = FALSE;
gfCameDirectlyFromGame = TRUE;
guiPreviousOptionScreen = SAVE_LOAD_SCREEN;
guiPreviousOptionScreen = GAME_SCREEN;
LeaveTacticalScreen( SAVE_LOAD_SCREEN );
}

Expand Down

0 comments on commit b8aa5f8

Please sign in to comment.