mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
SOMEONE did not put surgery things on new clickcode, so I done that.
This commit is contained in:
@@ -26,7 +26,9 @@
|
|||||||
if (!istype(M)) // not sure if this is the right thing...
|
if (!istype(M)) // not sure if this is the right thing...
|
||||||
return
|
return
|
||||||
var/messagesource = M
|
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))
|
if (istype(M,/mob/living/carbon/brain))
|
||||||
messagesource = M:container
|
messagesource = M:container
|
||||||
if (hitsound)
|
if (hitsound)
|
||||||
|
|||||||
Reference in New Issue
Block a user