diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1856,6 +1856,7 @@ states.retreat_in_battle = { if (is_inactive_player(current)) return view.prompt = "Waiting for " + game.active + " to retreat."; gen_action(view, 'undo'); + gen_action(view, 'block', game.who); if (game.who == NORSE) { view.prompt = "Retreat: Move the army to a friendly coastal area."; for (let to in AREAS) @@ -1881,6 +1882,10 @@ states.retreat_in_battle = { game.who = null; resume_battle(); }, + block: function () { + game.who = null; + resume_battle(); + }, undo: function () { game.who = null; resume_battle(); |