summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-24 23:49:37 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commit2dc352f1f05603158c281cb7c1155ed795a71ada (patch)
tree10bc4b62bdedfcd29f031bef79b4d9dcac46bbc7
parent7f0c3fbd196dad80699aa74254fe37a3b72de32d (diff)
downloadwaterloo-campaign-1815-2dc352f1f05603158c281cb7c1155ed795a71ada.tar.gz
Log negative DRMs.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index c12c816..8817bd4 100644
--- a/rules.js
+++ b/rules.js
@@ -1944,6 +1944,8 @@ states.defend_support = {
function log_drm(n, reason) {
if (n > 0)
log(`>+${n} ${reason}`)
+ else if (n < 0)
+ log(`>${n} ${reason}`)
return n
}