Skip to content

Commit

Permalink
ensure profile is saved before writing an endgame save
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Aug 27, 2021
1 parent 234d4aa commit 8131ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/credits.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void credits_stop(void) {
game_flags &= ~GFLAG_SHOW_CREDITS;

// ask the user to save
profile_save();
menu_open(MENU_SAVE);
}

Expand Down

0 comments on commit 8131ce4

Please sign in to comment.