Potential fix for Leos's problem
"I dont know the reproducing step for this but, sometimes when i go to the seed shop, this message keeps looping when i talk to piere to buy things. Welcome to Pierre's! Need some supplies?"
This commit is contained in:
@@ -199,7 +199,13 @@ namespace stardew_access.Patches
|
||||
#endregion
|
||||
|
||||
#region Narrate toSpeak
|
||||
ScreenReader.sayWithChecker(toSpeak.ToString(), true);
|
||||
|
||||
// To prevent it from getting conflicted by two hover texts at the same time, two seperate methods are used.
|
||||
// For example, sometimes `Welcome to Pierre's` and the items in seeds shop get conflicted causing it to speak infinitely.
|
||||
if(Context.IsPlayerFree)
|
||||
ScreenReader.sayWithChecker(toSpeak.ToString(), true); // Normal Checker
|
||||
else
|
||||
ScreenReader.sayWithMenuChecker(toSpeak.ToString(), true); // Normal Checker
|
||||
#endregion
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user