From ba09cd78b07edb9c521d15213d74214519301d1f Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 12 Jul 2020 19:36:12 +0200 Subject: use the paired emote for real!!! --- webAO/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webAO/client.js') diff --git a/webAO/client.js b/webAO/client.js index f6b4be3..938c566 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1669,8 +1669,8 @@ async changeBackground(position) { if (this.chatmsg.other_name) { try { const { url: pairUrl } = await this.oneSuccess([ - this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/" + this.chatmsg.sprite + ".png")), - this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/(a)" + this.chatmsg.sprite + ".gif")) + this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/" + this.chatmsg.other_emote + ".png")), + this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/(a)" + this.chatmsg.other_emote + ".gif")) ]); this.pairSilent = pairUrl ? pairUrl : transparentPNG; } catch (error) { -- cgit