aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-06 19:53:43 +0100
committerstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-06 19:53:43 +0100
commitb5a8b9740e9f755d7c82ee81d9ed42c1a22d4f2f (patch)
treef23ecd5072c90f4d2fcd0f3ef02df5ca884b17c2 /webAO/client.js
parent9091ebb3293f58e759949304b236d788141846b1 (diff)
compared the wrong thing
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 1016d24..5656c7c 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1841,7 +1841,7 @@ async changeBackground(position) {
if (shout) {
// Hide message box
chatContainerBox.style.opacity = 0;
- if (shout === 4) {
+ if (this.chatmsg.objection === 4) {
shoutSprite.src = `${AO_HOST}characters/${encodeURI(this.chatmsg.name.toLowerCase())}/custom.gif`;
} else {
shoutSprite.src = client.resources[shout]["src"];