diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-12 13:46:31 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-12 13:46:31 +0200 |
commit | cf0fbb65a29621023494413344186e026d505a78 (patch) | |
tree | e390a6fe3c05deb74663e5b39c52ae010a5bfb34 | |
parent | bf1aff40c570e9904f0be3c0ccbd666b3ec8b0ff (diff) | |
download | andean-abyss-cf0fbb65a29621023494413344186e026d505a78.tar.gz |
Fix messed up checks for valid shipment transfer sources.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |