From e398ff420304a2f412520bd2e4dda11c7d54c6ea Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 5 May 2023 17:08:57 +0200 Subject: Fix AUC Free Terror events counting the correct number of terror ops. --- rules.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rules.js b/rules.js index 25a4b72..980fb03 100644 --- a/rules.js +++ b/rules.js @@ -4542,15 +4542,11 @@ function goto_terror() { function vm_free_terror() { init_free_operation("Terror", game.vm.s) - if (game.current === AUC) - game.vm.auc_terror = 0 game.state = "terror_space" } function vm_free_terror_with_piece() { init_free_operation("Terror", game.vm.s) - if (game.current === AUC) - game.vm.auc_terror = 0 do_terror_piece(game.vm.p) } @@ -4650,7 +4646,7 @@ function do_terror_piece(p) { resume_kidnap_2() } else if (game.vm) { if (game.current === AUC) - game.vm.auc_terror++ + game.vm.auc_terror = (game.vm.auc_terror | 0) + 1 end_operation() } else { game.state = "terror" -- cgit v1.2.3