mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 07:50:45 +00:00
fix bug: join public lobby and then select single player
This commit is contained in:
@@ -66,6 +66,9 @@ class Client {
|
||||
this.ip
|
||||
]);
|
||||
console.log(`got ip ${clientIP}`)
|
||||
if (this.game != null) {
|
||||
this.game.stop()
|
||||
}
|
||||
this.game = createClientGame(
|
||||
event.detail.singlePlayer,
|
||||
(): string => {return this.usernameInput.getCurrentUsername()},
|
||||
|
||||
Reference in New Issue
Block a user