summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-21 19:19:10 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-21 19:19:10 +0100
commit54e93fce55218d7bf0c4c4e1017360b91aef0482 (patch)
tree4e1a7fe99ae8b3855cc8f9d44affce68a69395fd
parent4a3f47395483278164201972daf36beeab605679 (diff)
download1989-dawn-of-freedom-54e93fce55218d7bf0c4c4e1017360b91aef0482.tar.gz
Fix Malta Summit
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index ab50255..26d44fc 100644
--- a/rules.js
+++ b/rules.js
@@ -6416,7 +6416,8 @@ states.vm_malta_summit = {
}*/
},
roll() {
- clear_undo()
+ //clear_undo()
+ push_undo()
let roll = Math.floor(Math.random() * 6) + 1
log(`Rolled a ${roll}`)
if (game.stability > 0) {
@@ -6440,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() {