using the storage implant's action button while it's activated now closes the implant (#23182)

This commit is contained in:
GDN
2023-11-14 12:53:13 +00:00
committed by GitHub
parent c0a18da362
commit 8b874ada80
@@ -28,7 +28,11 @@
storage.emp_act(severity)
/obj/item/implant/storage/activate()
storage.MouseDrop(imp_in)
if(!length(storage.mobs_viewing))
storage.MouseDrop(imp_in)
else
for(var/mob/to_close in storage.mobs_viewing)
storage.close(to_close)
/obj/item/implant/storage/removed(source)
if(..())