diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-08-13 11:27:01 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-13 11:28:34 +0200 |
commit | 292ccdcd93b1ec6f56dd2c238858627ec777b7af (patch) | |
tree | 057284b71c41433d3be4d219032e3f2925a4e640 | |
parent | 136ba8e37f786d3c1ccf215a1589c8d083cc9762 (diff) | |
download | plantagenet-292ccdcd93b1ec6f56dd2c238858627ec777b7af.tar.gz |
clear undo after resolving events in arts of war
-rw-r--r-- | rules.js | 1 | ||||
-rw-r--r-- | rules.ts | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1839,6 +1839,7 @@ function goto_levy_arts_of_war() { resume_levy_arts_of_war(); } function resume_levy_arts_of_war() { + clear_undo(); // we may reveal the next random card here game.state = "levy_arts_of_war"; if (game.arts_of_war.length === 0) end_levy_arts_of_war(); @@ -2352,6 +2352,7 @@ function goto_levy_arts_of_war() { } function resume_levy_arts_of_war() { + clear_undo() // we may reveal the next random card here game.state = "levy_arts_of_war" if (game.arts_of_war.length === 0) end_levy_arts_of_war() |