1
0

Do not allow lowercase 'the bank' as name

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-03-01 13:18:54 -08:00
parent 44cd877c4e
commit 4be68a39f1

View File

@ -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!`;
}