removed double announcement for grid checks

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2013-03-06 01:31:40 +10:00
parent 59495c1171
commit 92517638bc
2 changed files with 17 additions and 17 deletions
+2 -5
View File
@@ -1,11 +1,11 @@
/datum/event/grid_check //NOTE: Times are measured in master controller ticks!
startWhen = 5
announceWhen = 5
/datum/event/grid_check/setup()
endWhen = rand(90,600)
/datum/event/grid_check/start()
power_failure(1)
power_failure(0)
/datum/event/grid_check/announce()
command_alert("Abnormal activity detected in [station_name()]'s powernet. As a precautionary measure, the station's power will be shut off for an indeterminate duration.", "Automated Grid Check")
@@ -13,7 +13,4 @@
M << sound('sound/AI/poweroff.ogg')
/datum/event/grid_check/end()
command_alert("Power has been restored to [station_name()]. We apologize for the inconvenience.", "Power Systems Nominal")
for(var/mob/M in player_list)
M << sound('sound/AI/poweron.ogg')
power_restore()