diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 15f51e3..d8ad42b 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -573,7 +573,7 @@ class Client extends EventEmitter { }; // need to take care of src alt onclick and onerror when the char comes in let img = document.getElementById(`demo_${charid}`); - img.src = AO_HOST + "characters/" + escape(chargs[0].toLowerCase()) + "/char_icon.png"; + img.src = this.chars[charid].icon; img.alt = chargs[0]; } |
