Ver código fonte

Fixed soldiers not counting as living

tags/v0.7.0^2
Fen Dweller 7 anos atrás
pai
commit
b541cfcaf6
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      recursive-macro.js

+ 2
- 1
recursive-macro.js Ver arquivo

@@ -227,11 +227,12 @@ function initContents(name,count) {
return result;
}


function get_living_prey(sum) {
let total = 0;
for (let key in sum) {
if (sum.hasOwnProperty(key)) {
if (key == "Micro" || key == "Macro" || key == "Person" || key == "Cow")
if (key == "Micro" || key == "Macro" || key == "Person" || key == "Cow" || key == 'Soldier')
total += sum[key];
}
}


Carregando…
Cancelar
Salvar