From cf0fbb65a29621023494413344186e026d505a78 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 12 Apr 2024 13:46:31 +0200 Subject: Fix messed up checks for valid shipment transfer sources. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index dcf9b20..a7b7fde 100644 --- a/rules.js +++ b/rules.js @@ -2081,9 +2081,9 @@ function can_transfer_shipment(sh) { return true if (!is_player_farc() && has_piece(s, FARC, GUERRILLA)) return true - if (!is_player_auc() && has_piece(s, FARC, AUC)) + if (!is_player_auc() && has_piece(s, AUC, GUERRILLA)) return true - if (!is_player_cartels() && has_piece(s, FARC, CARTELS)) + if (!is_player_cartels() && has_piece(s, CARTELS, GUERRILLA)) return true } return false -- cgit v1.2.3