check the user, not the target smh (#27005)

This commit is contained in:
1080pCat
2024-10-07 17:14:07 +00:00
committed by GitHub
parent 1d447c5592
commit 19a8edae33
@@ -129,7 +129,7 @@
C.apply_damage(5, BRUTE, drilled_organ)
playsound(get_turf(C), 'sound/weapons/circsawhit.ogg', 50, TRUE)
if(!do_after_once(C, (user_is_target ? self_insert_time : insert_time), target = C))
if(!do_after_once(user, (user_is_target ? self_insert_time : insert_time), target = C))
to_chat(user, "<span class='warning'>ERROR: Process interrupted!</span>")
in_use = FALSE
return