summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-13 01:06:42 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-13 01:06:42 +0200
commit6d6a44d042837c6e9e7160da5949431c9d6cfa1b (patch)
tree131776bd89739bc7a860568213254b0cc206c397
parent54bddbe6a6973f1c71fe888d19f364aa0f4d53de (diff)
downloadandean-abyss-6d6a44d042837c6e9e7160da5949431c9d6cfa1b.tar.gz
Fix "shipment" operator.
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 3d36a89..2a525bd 100644
--- a/rules.js
+++ b/rules.js
@@ -7538,12 +7538,13 @@ states.vm_shipment = {
gen_action_shipment(sh)
}
}
- if (vm_inst(2))
+ if (vm_inst(2) === 0)
view.actions.skip = 1
},
shipment(sh) {
if (vm_inst(1))
push_undo()
+ game.vm.m += 1
game.vm.sh = sh
vm_next()
},