summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-21 18:17:54 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commitd0e94171e19785be97242366a6124ff7b6f5d1aa (patch)
treef557d7fd7a0324c02f4b1e4b98ebcecfb875bd46 /rules.js
parente83cc1b575b5009ca0186b1b9ba21adaca78f1fe (diff)
downloadandean-abyss-d0e94171e19785be97242366a6124ff7b6f5d1aa.tar.gz
Log when non-optional pieces are not placed because none available.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 056976d..53e7e7f 100644
--- a/rules.js
+++ b/rules.js
@@ -7257,6 +7257,8 @@ states.vm_place = {
push_undo()
if (vm_inst(2)) // only flag as optional if opcode is opt
game.vm.opt = 1
+ else
+ log("Did not place piece in S" + game.vm.s + ".")
vm_next()
},
}