summaryrefslogtreecommitdiff
path: root/sw-bot/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sw-bot/src/main/kotlin')
-rw-r--r--sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt b/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
index 611c6369..6a4a5bf6 100644
--- a/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
+++ b/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
@@ -52,9 +52,9 @@ class SevenWondersBot(
"Custom wonders don't match the number of players in the game"
}
- val lobby = session.createGameAndWaitLobby(gameName)
+ val lobby = session.createGameAndAwaitLobby(gameName)
otherBots.forEach {
- it.session.joinGameAndWaitLobby(lobby.id)
+ it.session.joinGameAndAwaitLobby(lobby.id)
}
customWonders?.let { session.reassignWonders(it) }
@@ -73,7 +73,7 @@ class SevenWondersBot(
}
suspend fun joinAndAutoPlay(gameId: Long): PlayerTurnInfo {
- val firstTurn = session.joinGameAndWaitFirstTurn(gameId)
+ val firstTurn = session.joinGameAndAwaitFirstTurn(gameId)
return autoPlayUntilEnd(firstTurn)
}
bgstack15