summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index e168a47..53e7792 100644
--- a/rules.js
+++ b/rules.js
@@ -3638,9 +3638,9 @@ function vm_endif() {
function vm_goto_step(step) {
console.log('vm_goto_step called, target:', step)
- console.log('game.vp.ip', game.vp.ip)
- for (let i = game.vp.ip; i < CODE[game.vm.fp].length; i++) {
- console.log('game.vp.ip', game.vp.ip)
+ 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)
if (CODE[game.vm.fp][i][0] === step) {
game.vm.ip = i;
vm_exec();
@@ -6441,7 +6441,7 @@ states.vm_malta_summit = {
else {
log('Summit failed')
//game.phase++
- vm_goto_step(' vm_permanently_remove ')
+ vm_goto_step('vm_permanently_remove')
}
},
/*done() {