mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 22:10:33 +00:00
bump version, added loggin
This commit is contained in:
@@ -69,6 +69,7 @@ class Client {
|
||||
const clientIP = await this.ip
|
||||
console.log(`got ip ${clientIP}`)
|
||||
if (this.game != null) {
|
||||
console.log('joining lobby, stopping existing game')
|
||||
this.game.stop()
|
||||
}
|
||||
this.game = await createClientGame(
|
||||
@@ -96,6 +97,7 @@ class Client {
|
||||
if (this.game == null) {
|
||||
return
|
||||
}
|
||||
console.log('leaving lobby, cancelling game')
|
||||
this.game.stop()
|
||||
this.game = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user