Do not allow lowercase 'the bank' as name
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
44cd877c4e
commit
4be68a39f1
@ -751,7 +751,7 @@ const setPlayerName = (game, session, name) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (name === 'The bank') {
|
||||
if (name.toLowerCase() === 'the bank') {
|
||||
return `You cannot play as the bank!`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user