mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Dead mobs no longer hold up the arrivals shuttle. (#11123)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
var/list/mobstoyellat = list()
|
||||
for(var/area/subarea in shuttle_area)
|
||||
mobs_in_area(subarea)
|
||||
if (!mobstoyellat || !mobstoyellat.len)
|
||||
if (!mobstoyellat || !length(mobstoyellat))
|
||||
return FALSE
|
||||
for(var/mob/living/A in mobstoyellat)
|
||||
to_chat(A, "<span class='danger'>You feel as if you shouldn't be on the shuttle.</span>") // give them an angry text
|
||||
@@ -34,6 +34,8 @@
|
||||
qdel(A)
|
||||
else if(issilicon(A.loc) && isMMI(A))
|
||||
mobstoyellat -= A
|
||||
else if(A.stat == DEAD)
|
||||
mobstoyellat -= A
|
||||
if (mobstoyellat)
|
||||
global_announcer.autosay("Current life-forms on shuttle: [english_list(mobstoyellat)].", "Arrivals Shuttle Oversight") // tell on them
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user