Skip to content

Commit

Permalink
Save language settings in-game
Browse files Browse the repository at this point in the history
  • Loading branch information
xoascf authored Mar 27, 2024
1 parent 8b3cfdb commit 009da62
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ void FileChoose_UpdateOptionsMenu(GameState* thisx) {
// Persist the new language so it is not overridden on the next frame
if (languageChanged) {
CVarSetInteger("gLanguages", gSaveContext.language);
CVarSave();
GameInteractor_ExecuteOnSetGameLanguage();
}

Expand Down

0 comments on commit 009da62

Please sign in to comment.