diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-28 20:32:37 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-03 20:57:10 +0200 |
commit | 2f71b847f95ab249b01356b164c4e07b414c47be (patch) | |
tree | bef983ca132dd4d1cb1ef2835d37c46b3f241e5a | |
parent | a322f98e3ec16a2e508bc2da8c15c8037bf219f5 (diff) | |
download | andean-abyss-2f71b847f95ab249b01356b164c4e07b414c47be.tar.gz |
Allow transferring shipments between own guerrillas.
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2095,17 +2095,17 @@ states.transfer_shipment = { view.selected_shipment = game.transfer.shipment let p = get_held_shipment_piece(game.transfer.shipment) let s = piece_space(p) - if (!is_player_farc()) + if (game.current === FARC || !is_player_farc()) for_each_piece(FARC, GUERRILLA, (pp,ss) => { if (pp !== p && ss === s) gen_action_piece(pp) }) - if (!is_player_auc()) + if (game.current === AUC || !is_player_auc()) for_each_piece(AUC, GUERRILLA, (pp,ss) => { if (pp !== p && ss === s) gen_action_piece(pp) }) - if (!is_player_cartels()) + if (game.current === CARTELS || !is_player_cartels()) for_each_piece(CARTELS, GUERRILLA, (pp,ss) => { if (pp !== p && ss === s) gen_action_piece(pp) |