Removed pause from hud message as it was pausing too much
parent
92b7230a4d
commit
6c04ba7bf4
|
@ -63,8 +63,6 @@ namespace stardew_access.Features
|
|||
MainClass.hudMessageQueryKey = searchQuery;
|
||||
|
||||
MainClass.ScreenReader.Say(toSpeak, true);
|
||||
// Pause to avoid interruption
|
||||
MainClass.ReadTileFeature.pause();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,9 +39,6 @@ namespace stardew_access.Features
|
|||
/// <param name="time">The amount of time we want to pause the execution (in ms).<br/>Default is 2500 (2.5s).</param>
|
||||
public void pause(int time = 2500)
|
||||
{
|
||||
if (!MainClass.Config.ReadTileAllowPausing)
|
||||
return;
|
||||
|
||||
this.shouldPause = true;
|
||||
Task.Delay(time).ContinueWith(_ => { this.shouldPause = false; });
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue