summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 53e7792..3afcf06 100644
--- a/rules.js
+++ b/rules.js
@@ -3640,7 +3640,8 @@ function vm_goto_step(step) {
console.log('vm_goto_step called, target:', step)
console.log('game.vm.ip', game.vp.ip)
for (let i = game.vm.ip; i < CODE[game.vm.fp].length; i++) {
- console.log('game.vm.ip', game.vm.ip)
+ console.log('i', i)
+ console.log('step', CODE[game.vm.fp][i][0])
if (CODE[game.vm.fp][i][0] === step) {
game.vm.ip = i;
vm_exec();