From b3142e451d89789a2ea5d17033a2f88013dd25c1 Mon Sep 17 00:00:00 2001 From: Lachlan Leone Date: Sun, 11 Aug 2024 17:12:25 +1000 Subject: [PATCH] 0.1.5 --- Changelogs/Github/v0.1.5.MD | 3 +++ Changelogs/Workshop/v0.1.5.MD | 3 +++ Mod.cs | 11 ++++++----- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 Changelogs/Github/v0.1.5.MD create mode 100644 Changelogs/Workshop/v0.1.5.MD diff --git a/Changelogs/Github/v0.1.5.MD b/Changelogs/Github/v0.1.5.MD new file mode 100644 index 0000000..e213dd5 --- /dev/null +++ b/Changelogs/Github/v0.1.5.MD @@ -0,0 +1,3 @@ +# Release Notes v0.1.5 + +- Fixed compatibility with PlateUp! 1.2.0. \ No newline at end of file diff --git a/Changelogs/Workshop/v0.1.5.MD b/Changelogs/Workshop/v0.1.5.MD new file mode 100644 index 0000000..e03fd11 --- /dev/null +++ b/Changelogs/Workshop/v0.1.5.MD @@ -0,0 +1,3 @@ +[h1]Release Notes v0.1.5[/h1] + +- Fixed compatibility with PlateUp! 1.2.0. \ No newline at end of file diff --git a/Mod.cs b/Mod.cs index a8ff833..4e1e57f 100644 --- a/Mod.cs +++ b/Mod.cs @@ -15,6 +15,7 @@ using Pets.Customs; using Pets.Menus; using Pets.Views; using UnityEngine; +using KitchenLogger = KitchenLib.Logging.KitchenLogger; namespace Pets { @@ -22,7 +23,7 @@ namespace Pets { public const string MOD_GUID = "com.starfluxgames.pets"; public const string MOD_NAME = "Pets"; - public const string MOD_VERSION = "0.1.4"; + public const string MOD_VERSION = "0.1.5"; public const string MOD_AUTHOR = "StarFluxGames"; public const string MOD_GAMEVERSION = ">=1.1.8"; @@ -71,17 +72,17 @@ namespace Pets manager.Load(); manager.Save(); - ModsPreferencesMenu.RegisterMenu(MOD_NAME, typeof(PreferenceMenu), typeof(MainMenuAction)); - ModsPreferencesMenu.RegisterMenu(MOD_NAME, typeof(PreferenceMenu), typeof(PauseMenuAction)); + ModsPreferencesMenu.RegisterMenu(MOD_NAME, typeof(PreferenceMenu), typeof(MenuAction)); + ModsPreferencesMenu.RegisterMenu(MOD_NAME, typeof(PreferenceMenu), typeof(MenuAction)); Events.MainMenuView_SetupMenusEvent += (s, args) => { - args.addMenu.Invoke(args.instance, new object[] { typeof(PreferenceMenu), new PreferenceMenu(args.instance.ButtonContainer, args.module_list) }); + args.addMenu.Invoke(args.instance, new object[] { typeof(PreferenceMenu), new PreferenceMenu(args.instance.ButtonContainer, args.module_list) }); }; Events.PlayerPauseView_SetupMenusEvent += (s, args) => { - args.addMenu.Invoke(args.instance, new object[] { typeof(PreferenceMenu), new PreferenceMenu(args.instance.ButtonContainer, args.module_list) }); + args.addMenu.Invoke(args.instance, new object[] { typeof(PreferenceMenu), new PreferenceMenu(args.instance.ButtonContainer, args.module_list) }); }; ViewUtils.RegisterView("Pets.Views.PetRequestView", typeof(SPetRequestView), typeof(PetRequestView));