small history bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-02-06 19:25:19 +01:00
parent 384ecee728
commit 00476b4b1a
+1 -1
View File
@@ -135,7 +135,7 @@ function private.push_data()
tinsert(item_record.last_daily_values, Aux.round(daily_market_value))
while getn(item_record.last_daily_values) > 9 do
tremove(1, item_record.last_daily_values)
tremove(item_record.last_daily_values, 1)
end
item_record.day_count = item_record.day_count + 1