bugfix for median

This commit is contained in:
Manuel Simon Hirsig
2016-01-17 11:36:46 +01:00
parent 4ea7aaeb6f
commit 96b4e52eb0
4 changed files with 37 additions and 30 deletions
+2 -1
View File
@@ -117,6 +117,7 @@ function public.process_auction(auction_info)
end
local index = ceil(buyout / private.current_record.step)
snipe.log(private.current_record.step..'X'..auction_info.item_id)
if private.current_record.count <= 20 then
@@ -203,7 +204,7 @@ function private.refactor(pmax, precision)
private.current_record.min = new_min
private.current_record.max = new_max
private.current_record.max = new_step
private.current_record.step = new_step
private.current_record.count = new_count
private.current_record.values = new_values
end