mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] Makes icon2html support mutable appearences again (#5361)
* Makes icon2html support mutable appearances again (#58796) Fixes prayers not having the cute little icon attached to them * Makes icon2html support mutable appearences again Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
@@ -1116,7 +1116,8 @@ GLOBAL_LIST_INIT(freon_color_matrix, list("#2E5E69", "#60A2A8", "#A1AFB1", rgb(0
|
||||
|
||||
if (isnull(icon_state))
|
||||
icon_state = A.icon_state
|
||||
if (isnull(icon_state) || A.flags_1 & HTML_USE_INITAL_ICON_1)
|
||||
//Despite casting to atom, this code path supports mutable appearances, so let's be nice to them
|
||||
if(isnull(icon_state) || (isatom(thing) && A.flags_1 & HTML_USE_INITAL_ICON_1))
|
||||
icon_state = initial(A.icon_state)
|
||||
if (isnull(dir))
|
||||
dir = initial(A.dir)
|
||||
|
||||
Reference in New Issue
Block a user