60 * 60 > Time.toMinutes (#4634)

It already exists in other places in the code, doesn't make sense to not use it.
This commit is contained in:
buthed010203
2021-02-08 16:49:14 -05:00
committed by GitHub
parent 38843c25fb
commit 852b0a97fe

View File

@@ -63,7 +63,7 @@ public class Rules{
/** Radius around enemy wave drop zones.*/
public float dropZoneRadius = 300f;
/** Time between waves in ticks. */
public float waveSpacing = 60 * 60 * 2;
public float waveSpacing = 2 * Time.toMinutes;
/** Wave after which the player 'wins'. Used in sectors. Use a value <= 0 to disable. */
public int winWave = 0;
/** Base unit cap. Can still be increased by blocks. */