diff options
| author | sD <stoned@derpymail.org> | 2020-02-14 22:26:13 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-02-14 22:26:13 +0100 |
| commit | 9d1eb6b057da8fa9c9d714b4eeca9515b456a0c8 (patch) | |
| tree | 476de272f1826a8816fc98ab4398aea0092247b8 | |
| parent | 0d85606a9fce42066d5217d51951c14ec2215bba (diff) | |
Number.toLowerCase doesn't work
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 18a4983..47c633c 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1132,7 +1132,7 @@ class Client extends EventEmitter { for (let i = 1; i <= ini.emotions.number; i++) { try { const emoteinfo = ini.emotions[i].split("#"); - const esfx = ini.soundn[i] || 0; + const esfx = ini.soundn[i] || "0"; const esfxd = Number(ini.soundt[i]) || 0; // Make sure the asset server is case insensitive, or that everything on it is lowercase emotes[i] = { |
