mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-26 10:14:50 -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();
|
this.update();
|
||||||
continue;
|
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