Skip to content

Commit 3eb52de

Browse files
authored
Fix the Repeat Button for JP (#1952)
1 parent 8d45fe5 commit 3eb52de

File tree

1 file changed

+4
-1
lines changed
  • scripts/src/main/java/io/github/fate_grand_automata/scripts/locations

1 file changed

+4
-1
lines changed

scripts/src/main/java/io/github/fate_grand_automata/scripts/locations/Locations.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ class Locations @Inject constructor(
2121
val servant: ServantLevelLocations,
2222
) : IScriptAreaTransforms by scriptAreaTransforms {
2323

24-
val continueRegion = Region(120, 1000, 800, 200).xFromCenter()
24+
val continueRegion = when (gameServer) {
25+
is GameServer.Jp -> Region(120, 1100, 800, 200).xFromCenter()
26+
else -> Region(120, 1000, 800, 200).xFromCenter()
27+
}
2528
val continueBoostClick = Location(-20, 1120).xFromCenter()
2629

2730
val inventoryFullRegion = Region(-280, 860, 560, 190).xFromCenter()

0 commit comments

Comments
 (0)