mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Preact: Support |nametaken| (#2583)
This commit is contained in:
parent
978a735297
commit
a5de51e93d
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user