Changes the chat to use asset caches instead of directly sending it in a

way to prevent assets not being sent in some conditions.
Fixes byond donor icon in ooc.
Fixes emojis not working and removes animated emojis.
This commit is contained in:
Lzimann
2017-04-28 08:24:17 -03:00
parent 79d9178adf
commit c6185ec994
5 changed files with 20 additions and 24 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
if(search)
emoji = lowertext(copytext(text, pos+1, search))
if(emoji in emojis)
parsed += " [bicon(image('icons/emoji.dmi', iconstate="[emoji]"))]"
parsed += bicon(icon('icons/emoji.dmi', emoji))
pos = search + 1
else
parsed += copytext(text, pos, search)