diff --git a/classes/datalist.lua b/classes/datalist.lua index c372d58..e06e0a8 100644 --- a/classes/datalist.lua +++ b/classes/datalist.lua @@ -80,7 +80,7 @@ function DataList:reduce() local level = 0 for _, rawdata in ipairs(self.list) do if (rawdata.name == "level") then - rawdata = rawdata.arguments + level = rawdata.arguments end end