mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
co-authored by
NamelessFairy
parent
3337a883e4
commit
0d2d05f40c
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user