mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-12 00:33:20 +01:00
[MIRROR] cleans up robot gripper code (#12388)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a450bdfcf0
commit
cbb200e0db
@@ -53,7 +53,7 @@
|
||||
var/mob/living/silicon/robot/robot = user
|
||||
if(istype(robot.module_active, /obj/item/gripper))
|
||||
var/obj/item/gripper/gripper = robot.module_active
|
||||
I = gripper.get_current_pocket()
|
||||
I = gripper.get_wrapped_item()
|
||||
|
||||
else if(!I)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user