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
@@ -199,6 +199,7 @@ Doesn't work on other aliens/AI.*/
add_ranged_ability(user, message, TRUE)
/obj/effect/proc_holder/alien/neurotoxin/update_icon()
. = ..()
action.button_icon_state = "alien_neurotoxin_[active]"
action.UpdateButtons()
@@ -1,4 +1,5 @@
/mob/living/silicon/pai/update_icon()
. = ..()
if(chassis == "custom") //Make sure custom exists if it's set to custom
custom_holoform_icon = client?.prefs?.get_filtered_holoform(HOLOFORM_FILTER_PAI)
if(!custom_holoform_icon)
@@ -276,6 +276,7 @@
internal_ext.afterattack(target, user, null)
/mob/living/simple_animal/bot/firebot/update_icon()
. = ..()
if(!on)
icon_state = "firebot0"
return
@@ -380,6 +380,7 @@
target = null
/mob/living/simple_animal/bot/floorbot/update_icon()
. = ..()
icon_state = "floorbot[on]"
@@ -401,6 +401,7 @@
action = new(src)
/obj/effect/proc_holder/wrap/update_icon()
. = ..()
action.button_icon_state = "wrap_[active]"
action.UpdateButtons()