diff options
Diffstat (limited to 'crawl-ref/source/scripts/place-population.lua')
-rw-r--r-- | crawl-ref/source/scripts/place-population.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/scripts/place-population.lua b/crawl-ref/source/scripts/place-population.lua index 8b8095d956..76b77559e6 100644 --- a/crawl-ref/source/scripts/place-population.lua +++ b/crawl-ref/source/scripts/place-population.lua @@ -34,7 +34,9 @@ local function report_monster_counts_at(place, mcount_map) local total = 0 for _, monster_pop in ipairs(monster_counts) do - total = total + monster_pop[2].total + if monster_pop[1] ~= 'TOTAL' then + total = total + monster_pop[2].total + end end text = text .. "Count | XPAv | XPMin | XPMax | XPSigma | CountMin | CountMax | CountSigma | % | Monster\n" |