Rad storm emergency maint

Adds automatic emergency access to maintenance during radiation storms.
This commit is contained in:
Seteron14
2016-12-25 22:14:45 -06:00
parent 26086f3910
commit ddedc66236
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -161,4 +161,5 @@
/datum/weather/rad_storm/end()
if(..())
return
priority_announce("The radiation threat has passed. Please return to your workplaces.", "Anomaly Alert")
priority_announce("The radiation threat has passed. Please return to your workplaces.", "Anomaly Alert")
spawn(300) revoke_maint_all_access()
+2 -1
View File
@@ -16,4 +16,5 @@
//sound not longer matches the text, but an audible warning is probably good
/datum/round_event/radiation_storm/start()
SSweather.run_weather("radiation storm",1)
SSweather.run_weather("radiation storm",1)
make_maint_all_access()