Quick fix to ensure events with skyboxes remove them at the end.

This commit is contained in:
Leshana
2020-03-24 22:16:48 -04:00
parent cdb7c49966
commit 9d335cf678
3 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
dust_swarm(severity, affecting_z)
/datum/event/dust/end()
..()
command_announcement.Announce("\The [location_name()] is no longer in danger of impact from space debris.", "Dust Notice")
/datum/event/dust/proc/get_severity()

View File

@@ -68,6 +68,7 @@
bot.emag_act(1)
/datum/event/ionstorm/end()
..()
if(prob(50))
spawn(rand(5000,8000))
command_announcement.Announce("It has come to our attention that \the [location_name()] passed through an ion storm. Please monitor all electronic equipment for malfunctions.", "Anomaly Alert")

View File

@@ -49,6 +49,7 @@
return activeFor + ((30 / severity) * waves) + 10
/datum/event/meteor_wave/end()
..()
switch(severity)
if(EVENT_LEVEL_MAJOR)
command_announcement.Announce("\The [location_name()] has cleared the meteor storm.", "Meteor Alert")