This commit is contained in:
Kim Ravn Hansen
2025-10-22 10:13:14 +02:00
parent 6a25b15530
commit cda8392795
3 changed files with 2 additions and 55 deletions

View File

@@ -16,7 +16,7 @@ export class PlayerCreationScene extends Scene {
onReady() {
//
// If there are too many players, stop allowing new players in.
if (gGame._players.size >= Config.maxPlayers) {
if (gGame.players.size >= Config.maxPlayers) {
this.session.calamity("Server is full, no more players can be created");
}