mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 09:09:49 +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:
co-authored by
Kashargul
Cameron Lennox
parent
a450bdfcf0
commit
cbb200e0db
@@ -121,7 +121,7 @@
|
||||
else
|
||||
if(istype(I,/obj/item/gripper)) //Behold, Grippers and their horribleness. If ..() is called by any computers' attackby() now or in the future, this should let grippers work with them appropriately.
|
||||
var/obj/item/gripper/B = I //B, for Borg.
|
||||
var/obj/item/wrapped = B.get_current_pocket()
|
||||
var/obj/item/wrapped = B.get_wrapped_item()
|
||||
if(!wrapped)
|
||||
to_chat(user, "\The [B] is not holding anything.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user