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 -1
View File
@@ -47,7 +47,7 @@
/obj/machinery/button/update_icon()
cut_overlays()
. = ..()
if(panel_open)
icon_state = "button-open"
else if(stat & (NOPOWER|BROKEN))
+1 -1
View File
@@ -151,6 +151,7 @@
// if BROKEN, display blue screen of death icon AI uses
// if timing=true, run update display function
/obj/machinery/door_timer/update_icon()
. = ..()
if(stat & (NOPOWER))
icon_state = "frame"
return
@@ -169,7 +170,6 @@
else
if(maptext)
maptext = ""
return
// Adds an icon in case the screen is broken/off, stolen from status_display.dm