From 7d15ea3684cd8b148463415bf1a358583603c2ef Mon Sep 17 00:00:00 2001 From: shoaib11120 Date: Fri, 14 Jan 2022 11:22:15 +0530 Subject: [PATCH] Fixed confirmation menu bug | Beta Release 1.0.16 --- stardew-access/Patches/DialoguePatches.cs | 5 ++++- stardew-access/manifest.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stardew-access/Patches/DialoguePatches.cs b/stardew-access/Patches/DialoguePatches.cs index 1c6d8b4..be24f0a 100644 --- a/stardew-access/Patches/DialoguePatches.cs +++ b/stardew-access/Patches/DialoguePatches.cs @@ -113,7 +113,7 @@ namespace stardew_access.Patches try { #region Skip narrating hover text for certain menus - if (Game1.activeClickableMenu is TitleMenuPatches && !((Game1.activeClickableMenu as TitleMenu).GetChildMenu() is CharacterCustomization)) + if (Game1.activeClickableMenu is TitleMenu && !((Game1.activeClickableMenu as TitleMenu).GetChildMenu() is CharacterCustomization)) return; if (Game1.activeClickableMenu is LetterViewerMenu || Game1.activeClickableMenu is QuestLog) @@ -142,6 +142,9 @@ namespace stardew_access.Patches if (Game1.activeClickableMenu is ShopMenu) return; + + if (Game1.activeClickableMenu is ConfirmationDialog) + return; #endregion StringBuilder toSpeak = new StringBuilder(" "); diff --git a/stardew-access/manifest.json b/stardew-access/manifest.json index 52fec83..b8b89a4 100644 --- a/stardew-access/manifest.json +++ b/stardew-access/manifest.json @@ -1,7 +1,7 @@ { "Name": "Stardew Access", "Author": "Mohammad Shoaib", - "Version": "1.0.15-beta", + "Version": "1.0.16-beta", "Description": "An accessibility mod with screen reader support!", "UniqueID": "shoaib.stardewaccess", "EntryDll": "stardew-access.dll",