diff --git a/PantheonsHitCounter/ModMenu.cs b/PantheonsHitCounter/ModMenu.cs index ea29d81..a077281 100644 --- a/PantheonsHitCounter/ModMenu.cs +++ b/PantheonsHitCounter/ModMenu.cs @@ -147,8 +147,7 @@ private static void Reset() public static MenuScreen GetMenu(MenuScreen lastMenu, ModToggleDelegates? toggle) { if (toggle == null) return null; - if (_menuRef == null) - _menuRef = PrepareMenu((ModToggleDelegates) toggle); + _menuRef = PrepareMenu((ModToggleDelegates) toggle); return _menuRef.GetMenuScreen(lastMenu); } diff --git a/PantheonsHitCounter/PantheonsHitCounter.cs b/PantheonsHitCounter/PantheonsHitCounter.cs index d8e72ae..06f5a60 100644 --- a/PantheonsHitCounter/PantheonsHitCounter.cs +++ b/PantheonsHitCounter/PantheonsHitCounter.cs @@ -31,7 +31,7 @@ public class PantheonsHitCounter : Mod, IGlobalSettings, ILocalSetti public const int CompactSplitsCountMax = 22; public PantheonsHitCounter() : base("Pantheons Hit Counter") {} - public override string GetVersion() => "1.3.5"; + public override string GetVersion() => "1.3.6"; public MenuScreen GetMenuScreen(MenuScreen modListMenu, ModToggleDelegates? toggle) => ModMenu.GetMenu(modListMenu, toggle); public void OnLoadGlobal(GlobalData data) => globalData = data; public GlobalData OnSaveGlobal() => globalData;