From ce0a8de25b76a7b99800a83da96203b3a829f714 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 31 Jul 2022 00:16:30 -0400 Subject: [PATCH] Fixed certain units having useless mine command --- core/src/mindustry/type/UnitType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index e44386198b..7142bfff45 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -796,7 +796,7 @@ public class UnitType extends UnlockableContent{ cmds.add(UnitCommand.rebuildCommand, UnitCommand.assistCommand); } - if(mineSpeed > 0){ + if(mineTier > 0){ cmds.add(UnitCommand.mineCommand); } }