fix: correction du remplacement dans les listes
This commit is contained in:
parent
42ca9a48ca
commit
856df9d32f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue