Fixes meteor event

This commit is contained in:
mwerezak
2015-01-07 23:29:52 -05:00
parent 4988fa5170
commit c3413bc7d7

View File

@@ -13,7 +13,7 @@
/datum/event/meteor_wave/tick()
if(IsMultiple(activeFor, 3))
spawn_meteors(rand(2,5))
meteor_wave(rand(2,5))
/datum/event/meteor_wave/end()
command_announcement.Announce("The station has cleared the meteor storm.", "Meteor Alert")
@@ -34,7 +34,7 @@
//meteor showers are lighter and more common,
/datum/event/meteor_shower/tick()
if(activeFor >= next_meteor)
spawn_meteors(rand(1,4))
meteor_wave(rand(1,4))
next_meteor += rand(20,100)
waves--
if(waves <= 0)