diff --git a/play.pokemonshowdown.com/src/client-main.ts b/play.pokemonshowdown.com/src/client-main.ts index 0c4965b0c2..87e83af3f6 100644 --- a/play.pokemonshowdown.com/src/client-main.ts +++ b/play.pokemonshowdown.com/src/client-main.ts @@ -2166,6 +2166,9 @@ export const PS = new class extends PSModel { } this.update(); continue; + } case 'nametaken': { + PS.join('login' as RoomID, { args: { error: `Someone is already using the name ${args[1]}.` } }); + break; } }