summaryrefslogtreecommitdiff
path: root/src/port/ui/ImguiUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/ui/ImguiUI.cpp')
-rw-r--r--src/port/ui/ImguiUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp
index 61c3f7fd..be909fc6 100644
--- a/src/port/ui/ImguiUI.cpp
+++ b/src/port/ui/ImguiUI.cpp
@@ -320,10 +320,10 @@ void DrawSettingsMenu(){
};
} else {
if (UIWidgets::Button("Install JP/EU Audio")) {
- if (GameEngine::GenAssetFile()){
+ if (GameEngine::GenAssetFile(false)){
GameEngine::ShowMessage("Success", "Audio assets installed. Changes will be applied on the next startup.", SDL_MESSAGEBOX_INFORMATION);
- Ship::Context::GetInstance()->GetWindow()->Close();
}
+ Ship::Context::GetInstance()->GetWindow()->Close();
}
}
ImGui::EndMenu();