Browse Source

Added header to stats

tags/v0.7.0
Fen Dweller 7 years ago
parent
commit
c00c7e4808
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      game.js

+ 7
- 0
game.js View File

@@ -3342,6 +3342,13 @@ function actionTab(e) {

function showStats() {
let lines = [];

if (macro.brutality > 0) {
lines.push("Total kills:");
} else {
lines.push("Total victims:");
}

let total = 0;
for (var key in victims) {
if (victims.hasOwnProperty(key)) {


Loading…
Cancel
Save