we are only keeping track of the number of singu beacons, var more efficient.

This commit is contained in:
Ghommie
2019-10-05 05:29:57 +02:00
parent 35a6991300
commit 52fb4b03ac
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -21,8 +21,8 @@
/datum/round_event/meteor_wave/setup()
announceWhen = 1
startWhen = rand(300, 600) //Yeah for SOME REASON this is measured in seconds and not deciseconds???
if(GLOB.singularity_beacons.len)
startWhen *= 1 - min(GLOB.singularity_beacons.len * SINGULO_BEACON_DISTURBANCE, SINGULO_BEACON_MAX_DISTURBANCE)
if(GLOB.singularity_counter)
startWhen *= 1 - min(GLOB.singularity_counter * SINGULO_BEACON_DISTURBANCE, SINGULO_BEACON_MAX_DISTURBANCE)
endWhen = startWhen + 60