summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js1
-rw-r--r--rules.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 5512a1c..623f4ad 100644
--- a/rules.js
+++ b/rules.js
@@ -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();
diff --git a/rules.ts b/rules.ts
index 7dc9f9a..267b3cb 100644
--- a/rules.ts
+++ b/rules.ts
@@ -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()