[s]Fixes being able to launch the arrivals shuttle by hiding in closets and bodybags (#24997)

* Fixes being able to launch the arrivals shuttle

with people on board

* What he said

* Life check
This commit is contained in:
Cyberboss
2017-03-14 12:27:27 -04:00
committed by KorPhaeron
parent 0f4649bc9c
commit c0cddaac64
+4 -5
View File
@@ -111,11 +111,10 @@
return FALSE
/obj/docking_port/mobile/arrivals/proc/PersonCheck()
for(var/A in areas)
for(var/mob/living/L in A)
//don't dock for braindead'
if(L.key && L.client && L.stat != DEAD)
return TRUE
for(var/M in (living_mob_list & player_list))
var/mob/living/L = M
if((get_area(M) in areas) && L.stat != DEAD)
return TRUE
return FALSE
/obj/docking_port/mobile/arrivals/proc/SendToStation()