Skip to content

Commit 468d8d1

Browse files
committed
Handle TranslateFGO
1 parent b4b4607 commit 468d8d1

File tree

1 file changed

+2
-2
lines changed
  • scripts/src/main/java/io/github/fate_grand_automata/scripts/entrypoints

1 file changed

+2
-2
lines changed

scripts/src/main/java/io/github/fate_grand_automata/scripts/entrypoints/AutoBattle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,11 @@ class AutoBattle @Inject constructor(
340340
}
341341

342342
private fun isInOrdealCallConfirmPodUseScreen(): Boolean {
343-
return images[Images.StartQuest] in locations.ordealCallConfirmPodUseRegion
343+
return findImage(locations.ordealCallConfirmPodUseRegion, Images.StartQuest)
344344
}
345345

346346
private fun isInOrdealCallOutOfPodsScreen(): Boolean {
347-
return images[Images.Close] in locations.ordealCallOutOfPodsRegion
347+
return findImage(locations.ordealCallOutOfPodsRegion, Images.Close)
348348
}
349349

350350
private fun ordealCallOutOfPods() {

0 commit comments

Comments
 (0)