diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-03 17:43:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-06-03 17:43:07 +0200 |
commit | 61a7add46e3692d62b98cf9e1ba94eeb62df9f64 (patch) | |
tree | 226345eca7bd37def440691f5b4c8057a92aa7cc | |
parent | bcf6a9df595a04f96fce568f612faf9f9d1a7e89 (diff) | |
download | friedrich-61a7add46e3692d62b98cf9e1ba94eeb62df9f64.tar.gz |
allow passing on Daun free move event
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3820,6 +3820,8 @@ states.austria_may_move_laudon_by_one_city_immediately = { view.actions.take = 1 if (s_give > 0 && u_take > 0) view.actions.give = 1 + + view.actions.pass = 1 }, take() { push_undo() @@ -3839,6 +3841,10 @@ states.austria_may_move_laudon_by_one_city_immediately = { move_general_immediately(s) game.state = "laudon_done" }, + pass() { + clear_undo() + goto_start_turn() + } } states.laudon_take = states.move_take |