fix various small gaps, give option for players to leave

This commit is contained in:
AlecM33
2023-08-04 00:15:29 -04:00
parent 7c61b3a724
commit 0c92455e0e
11 changed files with 182 additions and 53 deletions

View File

@@ -320,7 +320,8 @@ class GameManager {
isGameStartable = (game) => {
return game.people.filter(person => person.userType === globals.USER_TYPES.PLAYER
|| person.userType === globals.USER_TYPES.TEMPORARY_MODERATOR).length === game.gameSize;
|| person.userType === globals.USER_TYPES.TEMPORARY_MODERATOR
|| person.userType === globals.USER_TYPES.BOT).length === game.gameSize;
}
findPersonByField = (game, fieldName, value) => {