diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 47574c1850..6406ab4f88 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -1079,6 +1079,7 @@ rules.deconstructrefundmultiplier = Deconstruct Refund Multiplier rules.waitForWaveToEnd = Waves Wait for Enemies rules.dropzoneradius = Drop Zone Radius:[lightgray] (tiles) rules.unitammo = Units Require Ammo +rules.unitcommand = RTS Unit Command (Erekir Units Only) rules.enemyteam = Enemy Team rules.playerteam = Player Team rules.title.waves = Waves diff --git a/core/src/mindustry/ui/dialogs/CustomRulesDialog.java b/core/src/mindustry/ui/dialogs/CustomRulesDialog.java index 355654bddb..b4b07906f2 100644 --- a/core/src/mindustry/ui/dialogs/CustomRulesDialog.java +++ b/core/src/mindustry/ui/dialogs/CustomRulesDialog.java @@ -171,6 +171,7 @@ public class CustomRulesDialog extends BaseDialog{ main.row(); title("@rules.title.unit"); + check("@rules.unitcommand", b -> rules.unitCommand = b, () -> rules.unitCommand); check("@rules.unitammo", b -> rules.unitAmmo = b, () -> rules.unitAmmo); check("@rules.unitcapvariable", b -> rules.unitCapVariable = b, () -> rules.unitCapVariable); number("@rules.unitcap", true, f -> rules.unitCap = f, () -> rules.unitCap, -999, 999);