From 651e0ddad48222a755f31fc33aa990b7d3eb2ec4 Mon Sep 17 00:00:00 2001 From: aMannus Date: Mon, 15 Aug 2022 04:59:12 +0200 Subject: [PATCH] Fixed 2 incorrect needs_save instances (#1115) --- libultraship/libultraship/ImGuiImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libultraship/libultraship/ImGuiImpl.cpp b/libultraship/libultraship/ImGuiImpl.cpp index fe5cd076d..c0822302f 100644 --- a/libultraship/libultraship/ImGuiImpl.cpp +++ b/libultraship/libultraship/ImGuiImpl.cpp @@ -1155,6 +1155,7 @@ namespace SohImGui { ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6.0f, 4.0f)); if (ImGui::Button("Apply Preset")) { applyEnhancementPresets(); + needs_save = true; } ImGui::PopStyleVar(1); @@ -1746,7 +1747,6 @@ namespace SohImGui { else { lastBetaQuestWorld = betaQuestWorld = 0xFFEF; CVar_SetS32("gBetaQuestWorld", betaQuestWorld); - needs_save = true; } if (betaQuestEnabled != lastBetaQuestEnabled || betaQuestWorld != lastBetaQuestWorld) {