fix: correction du remplacement dans les listes

This commit is contained in:
Kazhnuz 2024-08-09 12:28:30 +02:00
parent 42ca9a48ca
commit 856df9d32f

View file

@ -27,7 +27,7 @@ end
function ListHolder:replace(datas) function ListHolder:replace(datas)
for index, args in ipairs(self.list) do for index, args in ipairs(self.list) do
if (args[1] == datas[1]) then if (args[1] == datas[1]) then
self.list[index] = args self.list[index] = datas
end end
end end
end end