[MIRROR] Gives admins the ability to enable hostile environments at will. [MDB IGNORE] (#18288)

* Gives admins the ability to enable hostile environments at will. (#72018)

* Gives admins the ability to enable hostile environments at will.

Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-12-24 21:39:49 -08:00
committed by GitHub
co-authored by NamelessFairy
parent 3337a883e4
commit 0d2d05f40c
3 changed files with 29 additions and 3 deletions
+3 -3
View File
@@ -483,9 +483,9 @@ SUBSYSTEM_DEF(shuttle)
//Make all cargo consoles speak up
/datum/controller/subsystem/shuttle/proc/checkHostileEnvironment()
for(var/datum/d in hostile_environments)
if(!istype(d) || QDELETED(d))
hostile_environments -= d
for(var/datum/hostile_environment_source in hostile_environments)
if(QDELETED(hostile_environment_source))
hostile_environments -= hostile_environment_source
emergency_no_escape = hostile_environments.len
if(emergency_no_escape && (emergency.mode == SHUTTLE_IGNITING))