This commit is contained in:
kevinz000
2020-03-03 20:54:53 -07:00
parent f8187d0fbf
commit b6431b0ef6
2 changed files with 7 additions and 8 deletions
+6 -6
View File
@@ -573,14 +573,14 @@
check_patient()
/obj/structure/table/optable/proc/check_patient()
var/mob/living/carbon/human/M = locate(/mob/living/carbon/human, loc)
if(M)
if(!CHECK_MOBILITY(M, MOBILITY_STAND))
patient = M
return 1
var/mob/living/carbon/human/H = locate() in loc
if(H)
if(!CHECK_MOBILITY(H, MOBILITY_STAND))
patient = H
return TRUE
else
patient = null
return 0
return FALSE
/*
* Racks