diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-05-03 14:28:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | a90dc9f39c1fcb57343f65571e2012f52f69f5fe (patch) | |
tree | 3fd41b1fa931be8be621817ea4456e73886a3a6c /rules.js | |
parent | d2179a12816725f836f36ef9fcd19165c3f953de (diff) | |
download | wilderness-war-a90dc9f39c1fcb57343f65571e2012f52f69f5fe.tar.gz |
End retreating with all if there are no more destinations available.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5549,6 +5549,8 @@ states.retreat_all_defenders_to = { } } }); + if (!can_all_defenders_retreat_from(from)) + done = true; if (done) game.state = 'retreat_defender'; }, |