From 856df9d32f8bf494a5728cf966effa8fc7c5446b Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 9 Aug 2024 12:28:30 +0200 Subject: [PATCH] fix: correction du remplacement dans les listes --- classes/dataholders/listholder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/dataholders/listholder.lua b/classes/dataholders/listholder.lua index de1b425..9967a7d 100644 --- a/classes/dataholders/listholder.lua +++ b/classes/dataholders/listholder.lua @@ -27,7 +27,7 @@ end function ListHolder:replace(datas) for index, args in ipairs(self.list) do if (args[1] == datas[1]) then - self.list[index] = args + self.list[index] = datas end end end