diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 19:19:10 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 19:19:10 +0100 |
commit | 54e93fce55218d7bf0c4c4e1017360b91aef0482 (patch) | |
tree | 4e1a7fe99ae8b3855cc8f9d44affce68a69395fd /rules.js | |
parent | 4a3f47395483278164201972daf36beeab605679 (diff) | |
download | 1989-dawn-of-freedom-54e93fce55218d7bf0c4c4e1017360b91aef0482.tar.gz |
Fix Malta Summit
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() {
|