SOMEONE did not put surgery things on new clickcode, so I done that.

This commit is contained in:
Chinsky
2013-10-16 17:14:09 +04:00
parent 930a30cfd0
commit dcde181bee

View File

@@ -26,7 +26,9 @@
if (!istype(M)) // not sure if this is the right thing...
return
var/messagesource = M
if (can_operate(M)) //Checks if mob is lying down on table for surgery
if (do_surgery(M,user,src))
return
if (istype(M,/mob/living/carbon/brain))
messagesource = M:container
if (hitsound)