[MIRROR] Fixes a borg gripper bug (#12752)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-05-13 20:27:40 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 9a3bb7684d
commit 4da9bff6d1
3 changed files with 29 additions and 14 deletions
+4 -4
View File
@@ -437,18 +437,18 @@
..()
return
/obj/item/stack/attackby(obj/item/W as obj, mob/user as mob)
/obj/item/stack/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/gripper))
var/obj/item/gripper/G = W
G.consolidate_stacks(src)
G.consolidate_stacks(src, user)
if(QDELETED(src))
return
return TRUE
else if(istype(W, /obj/item/stack))
var/obj/item/stack/S = W
src.transfer_to(S)
if(QDELETED(src))
return
return TRUE
if (S && user.check_current_machine(S))
S.interact(user)