From 6f3c4bdb9d983e7ad4f2a1ef89eb0dfee9d608e1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 21 Dec 2022 17:14:34 +0100 Subject: Don't manually click to build siegeworks. --- play.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index d761966..29bf0d9 100644 --- a/play.js +++ b/play.js @@ -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) { -- cgit v1.2.3