diff --git a/fluorine_renderer.js b/fluorine_renderer.js index 946dfb6..c0d2fad 100644 --- a/fluorine_renderer.js +++ b/fluorine_renderer.js @@ -1783,6 +1783,7 @@ function make_renderer() { let spent = deposited + initial - current; let gathered = deposited + initial; let dead_ships = builds - (ships + dropoffs); + let pc_of_gathered = Math.round(10000 * current / gathered) / 100; if (renderer.game.game_statistics.player_statistics[pid].last_turn_alive < renderer.turn) { current = "dead"; // Set this after spent is calculated, above. @@ -1801,7 +1802,7 @@ function make_renderer() {