changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user