From 8006a7789b5a72d33497f62c4b4fb0ebd9c61f94 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 2 Aug 2024 09:09:17 +0200 Subject: [PATCH] fix: corrige recuperation niveau --- classes/datalist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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