summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-18 22:21:34 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit2c807d4ce8a075f588b3b054b0652d42a99a096f (patch)
treee18369f8f45ff7db6a2db45dd755c6666fc9036a
parenta82934c3f71d47eec63994c23b2d7b422a301d65 (diff)
downloadshores-of-tripoli-2c807d4ce8a075f588b3b054b0652d42a99a096f.tar.gz
tripoli: Show all frigates on one row in Tripolitan supply box.
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 3402515..70798b9 100644
--- a/ui.js
+++ b/ui.js
@@ -248,6 +248,7 @@ function layout_space(location, s, x0, y0, size) {
for (let p = 0; p < PIECES.length; ++p) {
if (location[p] == s) {
let prefix = PIECES[p].substring(0,4);
+ if (location[p] == TRIPOLITAN_SUPPLY && prefix == 'tr_f') prefix = 'us_f';
if (prefix == 'se_f') prefix = 'us_f';
if (prefix == 'al_c') prefix = 'tr_c';
pps[prefix].push(p);