diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-08-19 18:54:22 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-08-19 18:54:22 +0200 |
| commit | b2a76df49c6c4753b33c0cee2674a15436863321 (patch) | |
| tree | 3434b6a3a8a78589a716c575875afd4d576d86d0 /webAO/client.js | |
| parent | e7dcc853d4b75b1c8342a67b7c56131ce2b6c177 (diff) | |
some people put an empty SoundN in their inis
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index 1316eaa..ed2d575 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -890,8 +890,8 @@ class Client extends EventEmitter { updateActionCommands(me.side); for (let i = 1; i <= ini.Emotions.number; i++) { const emoteinfo = ini.Emotions[i].split("#"); - const esfx = ini.SoundN ? ini.SoundN[i] : "0"; - const esfxd = ini.SoundT ? ini.SoundT[i] : "0"; + const esfx = ini.SoundN[i] ? ini.SoundN[i] : "0"; + const esfxd = ini.SoundT[i] ? ini.SoundT[i] : "0"; // Make sure the asset server is case insensitive, or that everything on it is lowercase emotes[i] = { desc: emoteinfo[0].toLowerCase(), |
