Skip to content

Commit

Permalink
highlight ship count
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Oct 5, 2018
1 parent 6e24272 commit 8c086d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluorine_renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@
let colour = colours[pid];
lines.push(`<h2 style="color: ${colour}">${renderer.game.players[pid].name} ${rank_nice}</h2>`);
lines.push(`<ul>`);
lines.push(`<li>Ships: ${renderer.ship_count(pid)} &ndash; carrying ${renderer.transit_count(pid)}</li>`);
lines.push(`<li>Ships: <span style="color: ${colour}">${renderer.ship_count(pid)}</span> &ndash; carrying ${renderer.transit_count(pid)}</li>`);
lines.push(`<li>Deposits: ${deposited + initial}</li>`);
lines.push(`<li>Spent: ${spent > 0 ? "-" : ""}${spent}</li>`);
lines.push(`<li>Net: <span style="color: ${colour}">${current}</span></li>`);
Expand Down

0 comments on commit 8c086d4

Please sign in to comment.