diff options
Diffstat (limited to 'webAO/packets')
| -rw-r--r-- | webAO/packets/handlers/handlePV.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handlePV.ts b/webAO/packets/handlers/handlePV.ts index 04b5c82..879d004 100644 --- a/webAO/packets/handlers/handlePV.ts +++ b/webAO/packets/handlers/handlePV.ts @@ -80,7 +80,7 @@ export const handlePV = async (args: string[]) => { emote_item.title = emotes[i].desc; emote_item.onclick = () => { window.pickEmotion(i) } emotesList.appendChild(emote_item); - if (i = 1) pickEmotion(1); + if (i === 1) pickEmotion(1); } catch (e) { console.error(`missing emote ${i}`); } |
