mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 10:21:45 -04:00
Merge pull request #832 from mpmxyz/master-MC1.7.10
Fixed filesystem.list returning a list with duplicate values
This commit is contained in:
commit
35b55a118b
@ -351,9 +351,9 @@ function filesystem.list(path)
|
|||||||
table.remove(result, i)
|
table.remove(result, i)
|
||||||
else
|
else
|
||||||
f = result[i]
|
f = result[i]
|
||||||
end
|
|
||||||
i = i + 1
|
i = i + 1
|
||||||
end
|
end
|
||||||
|
end
|
||||||
local i = 0
|
local i = 0
|
||||||
return function()
|
return function()
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user