From 6c04ba7bf4a715a720886b7c7526cc21184c89f9 Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Date: Thu, 12 May 2022 22:58:42 +0530 Subject: [PATCH] Removed pause from hud message as it was pausing too much --- stardew-access/Features/Other.cs | 2 -- stardew-access/Features/ReadTile.cs | 3 --- stardew-access/ModConfig.cs | 1 - 3 files changed, 6 deletions(-) diff --git a/stardew-access/Features/Other.cs b/stardew-access/Features/Other.cs index 6a7b9ff..826c01d 100644 --- a/stardew-access/Features/Other.cs +++ b/stardew-access/Features/Other.cs @@ -63,8 +63,6 @@ namespace stardew_access.Features MainClass.hudMessageQueryKey = searchQuery; MainClass.ScreenReader.Say(toSpeak, true); - // Pause to avoid interruption - MainClass.ReadTileFeature.pause(); } } } diff --git a/stardew-access/Features/ReadTile.cs b/stardew-access/Features/ReadTile.cs index 3c76011..a7a5912 100644 --- a/stardew-access/Features/ReadTile.cs +++ b/stardew-access/Features/ReadTile.cs @@ -39,9 +39,6 @@ namespace stardew_access.Features /// The amount of time we want to pause the execution (in ms).
Default is 2500 (2.5s). public void pause(int time = 2500) { - if (!MainClass.Config.ReadTileAllowPausing) - return; - this.shouldPause = true; Task.Delay(time).ContinueWith(_ => { this.shouldPause = false; }); } diff --git a/stardew-access/ModConfig.cs b/stardew-access/ModConfig.cs index 40f41fb..479c25d 100644 --- a/stardew-access/ModConfig.cs +++ b/stardew-access/ModConfig.cs @@ -6,7 +6,6 @@ namespace stardew_access { public Boolean VerboseCoordinates { get; set; } = true; public Boolean ReadTile { get; set; } = true; - public Boolean ReadTileAllowPausing { get; set; } = true; public Boolean SnapMouse { get; set; } = true; public Boolean Radar { get; set; } = false; public Boolean RadarStereoSound { get; set; } = true;