From 2c807d4ce8a075f588b3b054b0652d42a99a096f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 18 Jun 2021 22:21:34 +0200 Subject: tripoli: Show all frigates on one row in Tripolitan supply box. --- ui.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui.js') 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); -- cgit v1.2.3