Skip to content

Commit

Permalink
AutomapNumberOfDungeons saved to wrong section
Browse files Browse the repository at this point in the history
This setting is read from the correct section [Map] but was saved again back to [GUI] section creating a duplicate and inconsistent behaviour. Changed line to serialize setting back to [Map] as intended (from a change in 2018).
  • Loading branch information
Interkarma committed Dec 21, 2023
1 parent 66043a1 commit 0e655cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/SettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ public void SaveSettings()
SetBool(sectionGUI, "EnableModernConversationStyleInTalkWindow", EnableModernConversationStyleInTalkWindow);
SetString(sectionGUI, "IconsPositioningScheme", IconsPositioningScheme);
SetInt(sectionGUI, "HelmAndShieldMaterialDisplay", HelmAndShieldMaterialDisplay);
SetInt(sectionGUI, "AutomapNumberOfDungeons", AutomapNumberOfDungeons);
SetInt(sectionGUI, "ShopQualityPresentation", ShopQualityPresentation);
SetInt(sectionGUI, "ShopQualityHUDDelay", ShopQualityHUDDelay);
SetBool(sectionGUI, "ShowQuestJournalClocksAsCountdown", ShowQuestJournalClocksAsCountdown);
Expand Down Expand Up @@ -676,6 +675,7 @@ public void SaveSettings()
SetBool(sectionControls, "AllowMagicRepairs", AllowMagicRepairs);
SetBool(sectionControls, "BowDrawback", BowDrawback);

SetInt(sectionMap, "AutomapNumberOfDungeons", AutomapNumberOfDungeons);
SetColor(sectionMap, "AutomapTempleColor", AutomapTempleColor);
SetColor(sectionMap, "AutomapShopColor", AutomapShopColor);
SetColor(sectionMap, "AutomapTavernColor", AutomapTavernColor);
Expand Down

0 comments on commit 0e655cf

Please sign in to comment.