summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-20 14:21:09 +0000
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commitb0efb0e4c098faeffa81259e5a3fd689ca5666a9 (patch)
treefb3d050343168b6215aee44aa0ef009bc94c4cf7
parentcccd20985c0e53d031cf153450b0f0bc61039d78 (diff)
downloadshores-of-tripoli-b0efb0e4c098faeffa81259e5a3fd689ca5666a9.tar.gz
tripoli: Fix player colors in side bar.
-rw-r--r--play.html10
-rw-r--r--ui.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/play.html b/play.html
index ceea69b..c65e123 100644
--- a/play.html
+++ b/play.html
@@ -311,15 +311,15 @@ svg circle, .piece {
<div class="grid_role">
<div class="role one">
- <div class="role_vp" id="tr_score">0</div>
- <div class="role_name">Tripolitania (<span class="role_user">$USER</span>)</div>
- <div class="role_info" id="tr_info">0 cards in hand</div>
- </div>
- <div class="role two">
<div class="role_vp" id="us_score">30</div>
<div class="role_name">United States (<span class="role_user">$USER</span>)</div>
<div class="role_info" id="us_info">0 cards in hand</div>
</div>
+ <div class="role two">
+ <div class="role_vp" id="tr_score">0</div>
+ <div class="role_name">Tripolitania (<span class="role_user">$USER</span>)</div>
+ <div class="role_info" id="tr_info">0 cards in hand</div>
+ </div>
<div class="role_info card_info"><div id="active_card" class="card show blank"></div></div>
</div>
diff --git a/ui.js b/ui.js
index 1a3de4f..5e911a5 100644
--- a/ui.js
+++ b/ui.js
@@ -461,4 +461,4 @@ function on_click_card(evt) {
build_map();
scroll_with_middle_mouse(".grid_center");
init_map_zoom();
-init_client([ "Tripolitania", "United States" ]);
+init_client([ "United States", "Tripolitania" ]);