diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-08-03 01:58:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-08-03 01:58:58 +0200 |
commit | db80695f16493d844bfa874ddb10e28cb77d83e3 (patch) | |
tree | 675672fb785553ffb3826236011884e78af6e978 /rules.js | |
parent | 63a94ceb87d49bb45d3fe5a0a55584c5b992111c (diff) | |
download | time-of-crisis-db80695f16493d844bfa874ddb10e28cb77d83e3.tar.gz |
Don't "Add Legion to Army" when all legions are in play.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |