fixes floor decals and other missing signal-added overlays by making sure things properly call parent update_icon

This commit is contained in:
deathride58
2024-04-24 22:30:25 -04:00
parent e094437056
commit 0517ece12a
36 changed files with 35 additions and 10 deletions
+1
View File
@@ -404,6 +404,7 @@
throw_at(thrown_by, throw_range+2, throw_speed, null, TRUE)
/obj/item/melee/baton/boomerang/update_icon()
. = ..()
if(turned_on)
icon_state = "[initial(icon_state)]_active"
else if(!cell)
+1 -1
View File
@@ -365,6 +365,7 @@
var/list/viewing_ui = list()
/obj/structure/displaycase/forsale/update_icon() //remind me to fix my shitcode later
. = ..()
var/icon/I
if(open)
I = icon('icons/obj/stationobjs.dmi',"laserboxb0")
@@ -379,7 +380,6 @@
S.Scale(17,17)
I.Blend(S,ICON_UNDERLAY,8,12)
src.icon = I
return
/obj/structure/displaycase/forsale/ui_interact(mob/user, datum/tgui/ui)
ui = SStgui.try_update_ui(user, src, ui)
+1
View File
@@ -221,6 +221,7 @@ GLOBAL_LIST_EMPTY(crematoriums)
id = "[idnum][id]"
/obj/structure/bodycontainer/crematorium/update_icon()
. = ..()
if(!connected || connected.loc != src)
icon_state = "crema0"
else