fix a bunch of runtimes (#19226)

This commit is contained in:
Kashargul
2026-02-24 22:38:32 +01:00
committed by GitHub
parent 98571b4462
commit 07549d62c3
7 changed files with 21 additions and 13 deletions
+8 -5
View File
@@ -442,16 +442,19 @@
if(istype(W, /obj/item/gripper))
var/obj/item/gripper/G = W
G.consolidate_stacks(src)
if(QDELETED(src))
return
else if(istype(W, /obj/item/stack))
var/obj/item/stack/S = W
src.transfer_to(S)
if(QDELETED(src))
return
spawn(0) //give the stacks a chance to delete themselves if necessary
if (S && user.check_current_machine(S))
S.interact(user)
if (src && user.check_current_machine(src))
src.interact(user)
if (S && user.check_current_machine(S))
S.interact(user)
if (src && user.check_current_machine(src))
src.interact(user)
else
return ..()