Skip to content

Commit

Permalink
Make "OK" button detection more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
TemariVirus committed Aug 28, 2023
1 parent 42c9cbc commit 7ec6a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ private static void PlayFishingGame(ref bool playing, in Stopwatch timeoutSw)

private static void CheckGameFisished(ref bool playing)
{
ReadonlyImage okArea = CaptureHolocureWindow(_targetLeft - 63, _targetTop + 32, 11, 9);
if (!okArea.CroppedEquals(_okImage))
ReadonlyImage okArea = CaptureHolocureWindow(_targetLeft - 73, _targetTop + 17, 31, 39);
if (okArea.Find(_okImage) == (-1, -1))
{
return;
}
Expand Down

0 comments on commit 7ec6a6d

Please sign in to comment.