From d0e94171e19785be97242366a6124ff7b6f5d1aa Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 21 Apr 2023 18:17:54 +0200 Subject: Log when non-optional pieces are not placed because none available. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) 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() }, } -- cgit v1.2.3