diff --git a/core.lua b/core.lua index e22d93d..de2813b 100644 --- a/core.lua +++ b/core.lua @@ -1,4 +1,4 @@ -AuxVersion = '2.2.8' +AuxVersion = '2.2.9' AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)' local lastRightClickAction = GetTime() diff --git a/stat_histogram.lua b/stat_histogram.lua index ff551fa..82b659c 100644 --- a/stat_histogram.lua +++ b/stat_histogram.lua @@ -148,8 +148,7 @@ function private.refactor(pmax, precision) local new_step = ceil(pmax / precision) - if getn(private.current_record.values) == 0 then - private.current_record.step = new_step + if private.current_record.min == 0 then return end