diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-22 23:17:22 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-22 23:17:22 +0200 |
commit | bfa227d537c30f108a989466caa4729e171eb63b (patch) | |
tree | 83a6b01bc3bfcc1c16d9d31dcdd21ff0c2fd77c6 /sw-bot/src/main/kotlin/org/luxons | |
parent | Use shared constant for ws endpoint (diff) | |
download | seven-wonders-bfa227d537c30f108a989466caa4729e171eb63b.tar.gz seven-wonders-bfa227d537c30f108a989466caa4729e171eb63b.tar.bz2 seven-wonders-bfa227d537c30f108a989466caa4729e171eb63b.zip |
Remove bot delays for joining the game
Diffstat (limited to 'sw-bot/src/main/kotlin/org/luxons')
-rw-r--r-- | sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt | 3 |
1 files changed, 0 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 89630b63..9f5f2983 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 @@ -34,11 +34,8 @@ class SevenWondersBot( suspend fun play(serverHost: String, gameId: Long) = withTimeout(botConfig.globalTimeout) { val session = client.connect(serverHost) - botDelay() session.chooseName(displayName, Icon("desktop")) - botDelay() session.joinGame(gameId) - botDelay() session.awaitGameStart(gameId) coroutineScope { |