diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 19:28:46 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 19:28:46 +0100 |
commit | 5309a1a27018495b5d10db5c5dc19a00c0c6d98a (patch) | |
tree | 05647b1bfa8ff68c7206887dee3b36f505e6da8f | |
parent | bfabc62b2638dc733e8abd33793e26200c6cfed8 (diff) | |
download | 1989-dawn-of-freedom-5309a1a27018495b5d10db5c5dc19a00c0c6d98a.tar.gz |
Fix vm_goto_step
-rw-r--r-- | rules.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() {
|