Skip to content

Commit c7fac2f

Browse files
committed
Fix each step validation
1 parent 98890dd commit c7fac2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • usvm-ml-gameserver/src/main/kotlin/org.usvm/gameserver

usvm-ml-gameserver/src/main/kotlin/org.usvm/gameserver/Explorer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private fun cloneDefaultOptions(gameMap: GameMap, predict: (GameState) -> UInt):
4343
Searcher.BFS -> PathSelectionStrategy.BFS
4444
Searcher.DFS -> PathSelectionStrategy.DFS
4545
}
46-
val stepLimit = (gameMap.stepsToStart + gameMap.stepsToStart).toULong()
46+
val stepLimit = (gameMap.stepsToStart + gameMap.stepsToPlay).toULong()
4747
return defaultOptions.copy(
4848
pathSelectionStrategies = listOf(defaultSearcher, PathSelectionStrategy.AI),
4949
stepLimit = stepLimit,

0 commit comments

Comments
 (0)