From 852b0a97fe8fa41e7460be21b9db898a84c5cd05 Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Mon, 8 Feb 2021 16:49:14 -0500 Subject: [PATCH] 60 * 60 > Time.toMinutes (#4634) It already exists in other places in the code, doesn't make sense to not use it. --- core/src/mindustry/game/Rules.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/game/Rules.java b/core/src/mindustry/game/Rules.java index 420840e7c0..7a0bbdae7e 100644 --- a/core/src/mindustry/game/Rules.java +++ b/core/src/mindustry/game/Rules.java @@ -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. */