diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-04-12 22:59:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-04-12 22:59:07 +0200 |
commit | 0016c36967fc8b9c861d57948a9eacb3f8fe00b3 (patch) | |
tree | eaaf5491d2d9d3d6d047498ccb5d304d1219a1b4 | |
parent | 0f4d9f5ba920ea2dc11e38a3eafefdaaf8503116 (diff) | |
download | vijayanagara-0016c36967fc8b9c861d57948a9eacb3f8fe00b3.tar.gz |
fix for ending campaign before 4 moves
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2225,6 +2225,12 @@ states.campaign = { game.state = "campaign_moves" } }, + next() { + push_undo() + if (game.vm) + game.vm.m = s + game.state = "campaign_moves" + }, skip() { logi("Nothing") vm_next() |