summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index a332d2e..3a03bf3 100644
--- a/rules.js
+++ b/rules.js
@@ -2008,7 +2008,7 @@ states.take_actions = {
// Add Legion to Army
if (is_own_province(where)) {
let cost = count_legions_in_army(game.selected_general) + 1
- if (game.mip >= cost)
+ if (game.mip >= cost && find_unused_legion() >= 0)
view.actions.add_legion_to_army = 1
}