Skip to content

Commit

Permalink
Merge pull request #630 from wulingxuan/master
Browse files Browse the repository at this point in the history
Fix: Mod "QuickSave" loaded the resulting bug.
  • Loading branch information
drewhoener authored Nov 12, 2024
2 parents 926a6bb + 075dc1d commit f4bfe9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UIInfoSuite2/ModEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ private void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
Helper.Data.ReadJsonFile<ModOptions>($"data/{_modConfig.ApplyDefaultSettingsFromThisSave}.json") ??
new ModOptions();

_modOptionsPageHandler?.Dispose();
_modOptionsPageHandler = new ModOptionsPageHandler(Helper, _modOptions, _modConfig.ShowOptionsTabInMenu);
}

Expand Down

0 comments on commit f4bfe9b

Please sign in to comment.