Spaces:
Sleeping
Sleeping
logs
Browse files
patches/convex/aiTown/game.ts
CHANGED
@@ -256,6 +256,7 @@ export class Game extends AbstractGame {
|
|
256 |
}
|
257 |
|
258 |
// Quit LobbyState to start the game once we have at least 3 players
|
|
|
259 |
if (this.world.gameCycle.cycleState === 'LobbyState' && humans.length >= LOBBY_SIZE) {
|
260 |
this.world.gameCycle.startGame(this)
|
261 |
}
|
|
|
256 |
}
|
257 |
|
258 |
// Quit LobbyState to start the game once we have at least 3 players
|
259 |
+
console.log("humans.length : ",humans.length,'LOBBY_SIZE',LOBBY_SIZE)
|
260 |
if (this.world.gameCycle.cycleState === 'LobbyState' && humans.length >= LOBBY_SIZE) {
|
261 |
this.world.gameCycle.startGame(this)
|
262 |
}
|