From 7c1838d560422c52976d62300d6bc86b34856d14 Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Date: Thu, 30 Dec 2021 20:23:10 +0530 Subject: [PATCH] Update MenuPatch.cs --- stardew-access/Patches/MenuPatch.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stardew-access/Patches/MenuPatch.cs b/stardew-access/Patches/MenuPatch.cs index 8c528f8..566a4c5 100644 --- a/stardew-access/Patches/MenuPatch.cs +++ b/stardew-access/Patches/MenuPatch.cs @@ -22,15 +22,13 @@ namespace stardew_access.Patches { int x = Game1.getMousePosition(true).X, y = Game1.getMousePosition(true).Y; + ScreenReader.sayWithMenuChecker(___message, true); if(__instance.okButton.containsPoint(x, y)) { ScreenReader.sayWithMenuChecker("Ok Button", false); } else if (__instance.cancelButton.containsPoint(x, y)) { ScreenReader.sayWithMenuChecker("Cancel Button", false); - } else - { - ScreenReader.sayWithMenuChecker(___message, true); } } catch (Exception e)