greatly simplified history
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ local methods = {
|
||||
GetRecordPercent = function(self, record)
|
||||
if not record then return end
|
||||
-- cache the market value on the record
|
||||
record.market_value = record.market_value or Aux.history.market_value(record.item_key) or 0
|
||||
record.market_value = record.market_value or Aux.history.value(record.item_key) or 0
|
||||
if record.market_value > 0 then
|
||||
if record.unit_buyout_price > 0 then
|
||||
return Aux.round(100 * record.unit_buyout_price / record.market_value, 1)
|
||||
|
||||
Reference in New Issue
Block a user