Fixed 2 incorrect needs_save instances (#1115)

This commit is contained in:
aMannus
2022-08-15 04:59:12 +02:00
committed by GitHub
parent 68e7f2e6c1
commit 651e0ddad4

View File

@@ -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)
{