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
+1 -2
View File
@@ -317,8 +317,7 @@
O.robot_suit = src
if(!locomotion)
O.locked_down = 1
O.update_mobility()
O.SetLockdown(TRUE)
to_chat(O, "<span class='warning'>Error: Servo motors unresponsive.</span>")
else
+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