diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-21 14:49:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | 1be131828fb2d362e4be47d23ca2be883f055dca (patch) | |
tree | 00abdcbf5d7c554908ae26cc16bfa6bae0afc483 | |
parent | e0b289a03cda4515a213bd876545e0ccdea28677 (diff) | |
download | julius-caesar-1be131828fb2d362e4be47d23ca2be883f055dca.tar.gz |
Cancel retreats by clicking the selected block.
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1881,6 +1881,7 @@ states.retreat = { } } gen_action(view, 'undo'); + gen_action(view, 'block', game.who); }, space: function (to) { let from = game.location[game.who]; @@ -1900,6 +1901,9 @@ states.retreat = { eliminate_block(game.who); resume_battle(); }, + block: function () { + resume_battle(); + }, undo: function () { resume_battle(); }, |