From 0437281ed7e08343a1f70bd3b02af145e6265e66 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 18 Jan 2023 00:29:11 +0100 Subject: Teutons at top when Observer. --- play.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/play.js b/play.js index d84ac52..7a8ab71 100644 --- a/play.js +++ b/play.js @@ -1448,12 +1448,12 @@ function is_lord_in_grid(lord) { } function update_court() { - let tcourt_hdr = (player === "Teutons") ? ui.court1_header : ui.court2_header - let rcourt_hdr = (player === "Teutons") ? ui.court2_header : ui.court1_header + let tcourt_hdr = (player === "Russians") ? ui.court2_header : ui.court1_header + let rcourt_hdr = (player === "Russians") ? ui.court1_header : ui.court2_header tcourt_hdr.textContent = "Teutonic Lords" rcourt_hdr.textContent = "Russian Lords" - let tcourt = (player === "Teutons") ? ui.court1 : ui.court2 - let rcourt = (player === "Teutons") ? ui.court2 : ui.court1 + let tcourt = (player === "Russians") ? ui.court2 : ui.court1 + let rcourt = (player === "Russians") ? ui.court1 : ui.court2 tcourt.replaceChildren() rcourt.replaceChildren() for (let lord = 0; lord < 6; ++lord) -- cgit v1.2.3