diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-06-16 14:21:55 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-06-16 14:21:55 +0200 |
| commit | a9635bb552d327b6e9c092d643d3857c5c8652ba (patch) | |
| tree | e145ad0876653c09fab715116719d130c5fdbbb0 /webAO/client.ts | |
| parent | e1cf45fa8ace00ef400235e09aca418d5094fc57 (diff) | |
send -1 for spectator
Diffstat (limited to 'webAO/client.ts')
| -rw-r--r-- | webAO/client.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 9821ba0..2163a1d 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -3018,9 +3018,8 @@ export function pickChar(ccharacter: number) { // Spectator document.getElementById('client_waiting').style.display = 'none'; document.getElementById('client_charselect').style.display = 'none'; - } else { - client.sendCharacter(ccharacter); } + client.sendCharacter(ccharacter); } window.pickChar = pickChar; |
