diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-28 01:43:21 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 31c91a4441fff0e24534d5004be809ed55e6b5f6 (patch) | |
tree | 7154392a9f30c69fd0fd1b38e71738e283c5a5bd /rules.js | |
parent | b145e50811b3869ce3acd3a61e27407efc579926 (diff) | |
download | andean-abyss-31c91a4441fff0e24534d5004be809ed55e6b5f6.tar.gz |
Fix Cultivate placement (only in Rally _Department_).
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5458,7 +5458,7 @@ function goto_cultivate() { states.cultivate = { prompt() { - view.prompt = "Cultivate: Select Department or City to place or relocate Base." + view.prompt = "Cultivate: Relocate Base to City or Department (or place if Rally Department)." for (let s = first_pop; s <= last_pop; ++s) if (can_cultivate_in_space(s)) gen_action_space(s) @@ -5466,7 +5466,7 @@ states.cultivate = { space(s) { push_undo() game.sa.where = s - if (is_selected_op_space(s) && game.op.type === "Rally") { + if (is_selected_op_space(s) && is_dept(s) && game.op.type === "Rally") { if (auto_place_piece(s, CARTELS, BASE)) { log_space(game.sa.where, "Cultivate") logi("Placed Cartels Base") |