fixes floor decals and other missing signal-added overlays by making sure things properly call parent update_icon
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
return
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/update_icon()
|
||||
. = ..()
|
||||
if(!action)
|
||||
return
|
||||
action.button_icon_state = "[base_icon_state][active]"
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
return
|
||||
|
||||
/obj/effect/proc_holder/spell/pointed/update_icon()
|
||||
. = ..()
|
||||
if(!action)
|
||||
return
|
||||
if(active)
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
new /obj/item/grown/bananapeel(target)
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/banana_peel/update_icon()
|
||||
. = ..()
|
||||
if(!action)
|
||||
return
|
||||
if(active)
|
||||
@@ -55,7 +56,6 @@
|
||||
action.button_icon_state = action_icon_state
|
||||
|
||||
action.UpdateButtons()
|
||||
return
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/touch/megahonk
|
||||
|
||||
Reference in New Issue
Block a user