aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"];