From 5abd7f5472afe0f5461f668709bf2b379c0b48b5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 17 Jan 2023 15:09:05 +0100 Subject: Show siege markers on castles in appropriate color. --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index 395d695..49240d8 100644 --- a/play.js +++ b/play.js @@ -1229,7 +1229,7 @@ function update_locale(loc) { let sieges = map_get(view.pieces.sieges, loc) if (sieges > 0) { let cn - if (is_p1_locale(loc)) + if (is_p1_locale(loc) || set_has(view.pieces.castles1, loc)) cn = "marker square siege russian" else cn = "marker square siege teutonic" -- cgit v1.2.3