Fix multitool arrow hard delete (#91114)

This commit is contained in:
FlufflesTheDog
2025-05-14 14:58:07 -07:00
committed by GitHub
parent 2719ca1866
commit d31c761237
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@
user_hud.infodisplay += arrow
user_hud.show_hud(user_hud.hud_version)
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(qdel), arrow), 1.5 SECONDS)
QDEL_IN(arrow, 1.5 SECONDS)
/obj/item/multitool/suicide_act(mob/living/carbon/user)
user.visible_message(span_suicide("[user] puts the [src] to [user.p_their()] chest. It looks like [user.p_theyre()] trying to pulse [user.p_their()] heart off!"))
@@ -3,3 +3,9 @@
icon_state = "multitool_arrow"
pixel_x = -32
pixel_y = -32
/atom/movable/screen/multitool_arrow/Destroy()
if(hud)
hud.infodisplay -= src
INVOKE_ASYNC(hud, TYPE_PROC_REF(/datum/hud, show_hud), hud.hud_version)
return ..()