From 05c6b647cc2c628755d03ecf3532777b65bd377b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 28 Apr 2023 23:58:15 +0200 Subject: Add missing log line for free Bribe. --- rules.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/rules.js b/rules.js index b21ac8b..368875e 100644 --- a/rules.js +++ b/rules.js @@ -1,17 +1,9 @@ "use strict" -// TODO: free Bribe (event 60) needs logging info - -// TODO: log_br after free op/special - // TODO: if Assault and no valid assault targets, only allow air lift to enable Assault // TODO: can_...operation - for space = ... check them all / can_rally - check that it is dept/city etc -// Captured Good - may not remove -// Commandeer - may not remove -// Contraband - if removed - cartels decide who gets it - const AUTOMATIC = true const PATROL_UNDO = true @@ -2598,6 +2590,7 @@ states.ship_limop = { } function end_operation() { + log_br() if (game.op.ship && is_any_shipment_held()) { push_undo() game.state = "ship" @@ -5686,6 +5679,7 @@ function vm_free_bribe() { game.sa.where = game.vm.s game.sa.targeted = 0 game.state = "bribe_space" + log_space(game.sa.where, "Bribe") } function goto_bribe() { -- cgit v1.2.3