Fixes borg gripper issue (#12043)

This commit is contained in:
Doxxmedearly
2021-06-15 01:07:51 -03:00
committed by GitHub
parent abafcc17bf
commit 9759decbc9
2 changed files with 8 additions and 0 deletions
@@ -254,6 +254,8 @@
W.forceMove(get_turf(src))
return FALSE
/mob/living/silicon/robot/remove_from_mob(var/obj/O) //Necessary to clear gripper when trying to place items in things (grinders, smartfridges, vendors, etc)
drop_item()
/mob/living/silicon/robot/drop_item()
if (istype(module_active, /obj/item/gripper))
@@ -0,0 +1,6 @@
author: Doxxmedearly
delete-after: True
changes:
- bugfix: "Fixed a bug where phantom items would remain in a borg's gripper after attempting to place them in things like vendors and grinders."