Custom rule for unit command

This commit is contained in:
Anuken
2022-02-09 17:28:51 -05:00
parent a8d750efce
commit 3e0b8e9431
2 changed files with 2 additions and 0 deletions

View File

@@ -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);