summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 12:51:51 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 12:51:51 +0200
commit060863752f989d6fb57a28a01aac488fc7221930 (patch)
treefc80c766e2ecc315a11f1cbe5d0bf0b6554eaf9d
parent3a1cd4a7921367d443c654828aed133b05b8012a (diff)
downloadalgeria-060863752f989d6fb57a28a01aac488fc7221930.tar.gz
Suppression. Info if no units neutralized
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index b7cdd77..8d8c514 100644
--- a/rules.js
+++ b/rules.js
@@ -3576,6 +3576,10 @@ states.gov_suppression = {
}
})
+ if (!targets.length) {
+ log(">No Bands/Faileks to neutralize")
+ }
+
// TODO FLN player chooses which exact units are neutralized)
shuffle(targets)
for(let u of targets.slice(0, result)) {