summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-18 00:29:11 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit0437281ed7e08343a1f70bd3b02af145e6265e66 (patch)
treeca9c88c20c4d6dd440a316739e51c4cc36a84659
parent1084af1777263f3f1a092e95da09604d8c3cc6de (diff)
downloadnevsky-0437281ed7e08343a1f70bd3b02af145e6265e66.tar.gz
Teutons at top when Observer.
-rw-r--r--play.js8
1 files 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)