From 00476b4b1ab9873d65178ed4321419849f1e6fa4 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 6 Feb 2016 19:25:19 +0100 Subject: [PATCH] small history bugfix --- history.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.lua b/history.lua index 6bdaffd..5dc4c5b 100644 --- a/history.lua +++ b/history.lua @@ -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