bump version, added loggin

This commit is contained in:
evanpelle
2024-10-15 20:27:19 -07:00
parent 9afd285ed4
commit 9b789b7006
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
}