mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-23 01:42:19 -05:00
Fixed 2 incorrect needs_save instances (#1115)
This commit is contained in:
parent
68e7f2e6c1
commit
651e0ddad4
@ -1155,6 +1155,7 @@ namespace SohImGui {
|
|||||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6.0f, 4.0f));
|
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(6.0f, 4.0f));
|
||||||
if (ImGui::Button("Apply Preset")) {
|
if (ImGui::Button("Apply Preset")) {
|
||||||
applyEnhancementPresets();
|
applyEnhancementPresets();
|
||||||
|
needs_save = true;
|
||||||
}
|
}
|
||||||
ImGui::PopStyleVar(1);
|
ImGui::PopStyleVar(1);
|
||||||
|
|
||||||
@ -1746,7 +1747,6 @@ namespace SohImGui {
|
|||||||
else {
|
else {
|
||||||
lastBetaQuestWorld = betaQuestWorld = 0xFFEF;
|
lastBetaQuestWorld = betaQuestWorld = 0xFFEF;
|
||||||
CVar_SetS32("gBetaQuestWorld", betaQuestWorld);
|
CVar_SetS32("gBetaQuestWorld", betaQuestWorld);
|
||||||
needs_save = true;
|
|
||||||
}
|
}
|
||||||
if (betaQuestEnabled != lastBetaQuestEnabled || betaQuestWorld != lastBetaQuestWorld)
|
if (betaQuestEnabled != lastBetaQuestEnabled || betaQuestWorld != lastBetaQuestWorld)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user