Sfoglia il codice sorgente

Added header to stats

tags/v0.7.0
Fen Dweller 7 anni fa
parent
commit
c00c7e4808
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      game.js

+ 7
- 0
game.js Vedi 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…
Annulla
Salva