Skip to content

Commit

Permalink
Fix saving global
Browse files Browse the repository at this point in the history
  • Loading branch information
xoascf authored Mar 28, 2024
1 parent 644dc62 commit f0c142c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions soh/soh/SohMenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,17 +478,17 @@ void DrawSettingsMenu() {
if (ImGui::Selectable("English")) {
gSaveContext.language = LANGUAGE_ENG;
GameInteractor::Instance->ExecuteHooks<GameInteractor::OnSetGameLanguage>();
Save_SaveGlobal();
SaveManager::Instance->SaveGlobal();
}
if (ImGui::Selectable("German")) {
gSaveContext.language = LANGUAGE_GER;
GameInteractor::Instance->ExecuteHooks<GameInteractor::OnSetGameLanguage>();
Save_SaveGlobal();
SaveManager::Instance->SaveGlobal();
}
if (ImGui::Selectable("French")) {
gSaveContext.language = LANGUAGE_FRA;
GameInteractor::Instance->ExecuteHooks<GameInteractor::OnSetGameLanguage>();
Save_SaveGlobal();
SaveManager::Instance->SaveGlobal();
}
ImGui::EndCombo();
}
Expand Down

0 comments on commit f0c142c

Please sign in to comment.