Skip to content

Commit

Permalink
MapRunner: Update gnk splash check
Browse files Browse the repository at this point in the history
  • Loading branch information
waicool20 committed Dec 6, 2023
1 parent 7ff80db commit 987ab63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ abstract class MapRunner(
// Wait for the G&K splash to appear within 10 seconds
while (coroutineContext.isActive) {
delay(500)
if (mapRunnerRegions.endBattle.has(FT("combat/battle/end.png", 0.8))) {
if (ocr.readText(mapRunnerRegions.endBattle, threshold = 0.73).contains("end", true)) {
logger.info("G&K splash screen appeared")
delay(2000)
break
Expand Down

0 comments on commit 987ab63

Please sign in to comment.