From ac190f593910021e3f1296e8dc56a8023766e1cf Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Khan Date: Wed, 22 Feb 2023 18:09:43 +0530 Subject: [PATCH] Bug fix --- stardew-access/HarmonyPatches.cs | 5 ----- stardew-access/Patches/TitleMenuPatches.cs | 1 - 2 files changed, 6 deletions(-) diff --git a/stardew-access/HarmonyPatches.cs b/stardew-access/HarmonyPatches.cs index eb0fa7e..bf570f2 100644 --- a/stardew-access/HarmonyPatches.cs +++ b/stardew-access/HarmonyPatches.cs @@ -290,11 +290,6 @@ namespace stardew_access original: AccessTools.Method(typeof(TextBox), nameof(TextBox.Draw)), prefix: new HarmonyMethod(typeof(TextBoxPatch), nameof(TextBoxPatch.DrawPatch)) ); - - harmony.Patch( - original: AccessTools.Method(typeof(IClickableMenu), nameof(IClickableMenu.draw)), - prefix: new HarmonyMethod(typeof(IClickableMenuPatch), nameof(IClickableMenuPatch.DrawPatch)) - ); } } } diff --git a/stardew-access/Patches/TitleMenuPatches.cs b/stardew-access/Patches/TitleMenuPatches.cs index 0a17870..af8cba3 100644 --- a/stardew-access/Patches/TitleMenuPatches.cs +++ b/stardew-access/Patches/TitleMenuPatches.cs @@ -6,7 +6,6 @@ namespace stardew_access.Patches { internal class TitleMenuPatches { - private static bool isRunning = false; public static string advancedGameOptionsQueryKey = " "; internal static void AdvancedGameOptionsPatch(AdvancedGameOptions __instance)