summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js1
-rw-r--r--rules.js4
2 files changed, 2 insertions, 3 deletions
diff --git a/play.js b/play.js
index f33e023..5095690 100644
--- a/play.js
+++ b/play.js
@@ -1839,7 +1839,6 @@ function sub_way_name(match, p1) {
return `<span class="way_tip" onmouseenter="on_focus_way_tip(${x})" onmouseleave="on_blur_way_tip(${x})" onclick="on_click_way_tip(${x})">${n}</span>`
}
-
function on_log(text) {
let p = document.createElement("div")
diff --git a/rules.js b/rules.js
index a345490..beaf533 100644
--- a/rules.js
+++ b/rules.js
@@ -4596,7 +4596,7 @@ states.command = {
},
end_command() {
- clear_undo()
+ push_undo()
end_command()
},
@@ -10057,6 +10057,7 @@ states.feed = {
set_lord_unfed(lord, 0)
},
end_feed() {
+ push_undo()
end_feed()
},
card: action_held_event,
@@ -10098,7 +10099,6 @@ states.feed_lord_shared = {
}
function end_feed() {
- clear_undo()
goto_pay()
}