Fixed 2 incorrect needs_save instances (#1115)

pull/1166/head^2
aMannus 10 months ago committed by GitHub
parent 68e7f2e6c1
commit 651e0ddad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save