diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-18 22:21:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 2c807d4ce8a075f588b3b054b0652d42a99a096f (patch) | |
tree | e18369f8f45ff7db6a2db45dd755c6666fc9036a /ui.js | |
parent | a82934c3f71d47eec63994c23b2d7b422a301d65 (diff) | |
download | shores-of-tripoli-2c807d4ce8a075f588b3b054b0652d42a99a096f.tar.gz |
tripoli: Show all frigates on one row in Tripolitan supply box.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |