mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fixes reagent_containers not being usable for surgery
This commit is contained in:
@@ -28,6 +28,8 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/item/weapon/reagent_containers/attack(mob/M as mob, mob/user as mob, def_zone)
|
/obj/item/weapon/reagent_containers/attack(mob/M as mob, mob/user as mob, def_zone)
|
||||||
|
if (can_operate(M)) //Checks if mob is lying down on table for surgery
|
||||||
|
if (do_surgery(M,user,src))
|
||||||
return
|
return
|
||||||
|
|
||||||
// this prevented pills, food, and other things from being picked up by bags.
|
// this prevented pills, food, and other things from being picked up by bags.
|
||||||
|
|||||||
Reference in New Issue
Block a user