From 2f71b847f95ab249b01356b164c4e07b414c47be Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 28 May 2023 20:32:37 +0200 Subject: Allow transferring shipments between own guerrillas. --- rules.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index 6f7d02a..9b10b63 100644 --- a/rules.js +++ b/rules.js @@ -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) -- cgit v1.2.3