diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-21 17:14:34 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 6f3c4bdb9d983e7ad4f2a1ef89eb0dfee9d608e1 (patch) | |
tree | 78384c3bd488b6822dfc9ecaec4c81e3d17a608c /play.js | |
parent | bbfd640bf2b82ab390261fcc5d525454dff67cfe (diff) | |
download | nevsky-6f3c4bdb9d983e7ad4f2a1ef89eb0dfee9d608e1.tar.gz |
Don't manually click to build siegeworks.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -940,7 +940,9 @@ function update_lord_mat(ix) { } function is_lord_mat_selected(ix) { - return ix === view.who + if (view.who >= 0) + return ix === view.who + return ix === view.command } function is_cylinder_selected(ix) { |