Fixes reagent_containers not being usable for surgery

This commit is contained in:
mwerezak
2014-07-06 15:37:05 -04:00
parent 30dc2519e9
commit cb0437ecca

View File

@@ -28,7 +28,9 @@
return
/obj/item/weapon/reagent_containers/attack(mob/M as mob, mob/user as mob, def_zone)
return
if (can_operate(M)) //Checks if mob is lying down on table for surgery
if (do_surgery(M,user,src))
return
// this prevented pills, food, and other things from being picked up by bags.
// possibly intentional, but removing it allows us to not duplicate functionality.