diff --git a/play.pokemonshowdown.com/src/client-main.ts b/play.pokemonshowdown.com/src/client-main.ts index bd369542e..c0a20a5e9 100644 --- a/play.pokemonshowdown.com/src/client-main.ts +++ b/play.pokemonshowdown.com/src/client-main.ts @@ -2167,6 +2167,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; } }