From 85efb0f3f77664f3127b56ef0b25db6c987ef8fc Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Thu, 26 Oct 2023 22:04:21 +0200 Subject: handle zero activation cost --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 38de71f..8b70b0b 100644 --- a/rules.js +++ b/rules.js @@ -2298,7 +2298,8 @@ states.gov_reinforcement = { } // cost can be fraction let cost = activation_cost(list) - lower_gov_psl(cost) + if (cost) + lower_gov_psl(cost) }, remove() { let list = game.selected -- cgit v1.2.3