diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-01 16:06:01 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-01 16:06:38 +0100 |
commit | 622f0212c073ced29eea6cf5139e9872a57fdecc (patch) | |
tree | d0ac880a4b74b9d7f7f6eb725884bd3711d44fb4 /play.js | |
parent | 896f718d3be8259b4d000b6bf2252621439f404d (diff) | |
download | algeria-622f0212c073ced29eea6cf5139e9872a57fdecc.tar.gz |
fix stack bug when clicking units off map.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -369,7 +369,7 @@ function focus_stack(stack) { if (focus !== stack) { focus = stack update_map() - return stack.length <= 1 + return !stack || stack.length <= 1 } return true } |