Lets not spawn infinite meteors.

This commit is contained in:
ZomgPonies
2015-06-04 05:43:57 -04:00
parent f37b35bc1f
commit c7c3efb5d0
+1
View File
@@ -35,6 +35,7 @@
var/waveduration = world.timeofday + rand(3000,9000)
var/waitduration = rand(3000,9000)
while(waveduration - world.timeofday > 0)
sleep(20)
spawn() spawn_meteors(6)
spawn(waitduration)
nometeors = 0