From b58bdfb28d3b21bad62f1e99830bd2db26eee9ef Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 17 Nov 2022 23:37:29 +0100 Subject: [PATCH] [MIRROR] Bluespace Light Replacer icon fix [MDB IGNORE] (#17530) * Bluespace Light Replacer icon fix (#71148) ## About The Pull Request update_icon broke the iconstate since it was hardcoded to use the originals icons, this wasnt caught in development because update_icon was originally overwritten ## Why It's Good For The Game consistency ## Changelog :cl: fix: bluespace light replacer displays icon correctly /:cl: Co-authored-by: etherware-novice Co-authored-by: Candycaneannihalator * Bluespace Light Replacer icon fix Co-authored-by: texan-down-under <73374039+etherware-novice@users.noreply.github.com> Co-authored-by: etherware-novice Co-authored-by: Candycaneannihalator --- code/game/objects/items/devices/lightreplacer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/lightreplacer.dm b/code/game/objects/items/devices/lightreplacer.dm index 9ed93d1eefb..e650082fe1a 100644 --- a/code/game/objects/items/devices/lightreplacer.dm +++ b/code/game/objects/items/devices/lightreplacer.dm @@ -147,7 +147,7 @@ to_chat(user, status_string()) /obj/item/lightreplacer/update_icon_state() - icon_state = "lightreplacer[(obj_flags & EMAGGED ? 1 : 0)]" + icon_state = "[initial(icon_state)][(obj_flags & EMAGGED ? 1 : 0)]" return ..() /obj/item/lightreplacer/proc/status_string()