mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
fix various small gaps, give option for players to leave
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user