From b5a8b9740e9f755d7c82ee81d9ed42c1a22d4f2f Mon Sep 17 00:00:00 2001 From: stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> Date: Fri, 6 Nov 2020 19:53:43 +0100 Subject: compared the wrong thing --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO') 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"]; -- cgit