Fixes reagent_containers not being usable for surgery

This commit is contained in:
mwerezak
2014-07-06 15:37:05 -04:00
committed by ZomgPonies
parent 9cebb9708e
commit cf52f9e734
+3 -1
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.