From 259c666e0b72e8ae26eef8fd70361b61daf5427f Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 18 Jul 2024 21:32:44 +0200 Subject: missing = --- webAO/packets/handlers/handlePV.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/packets') 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}`); } -- cgit