diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-18 00:29:11 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | 0437281ed7e08343a1f70bd3b02af145e6265e66 (patch) | |
tree | ca9c88c20c4d6dd440a316739e51c4cc36a84659 | |
parent | 1084af1777263f3f1a092e95da09604d8c3cc6de (diff) | |
download | nevsky-0437281ed7e08343a1f70bd3b02af145e6265e66.tar.gz |
Teutons at top when Observer.
-rw-r--r-- | play.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |