mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
//multi: luacheck fix
This commit is contained in:
parent
1c8d572bb8
commit
23e08c5693
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ local function explode(delim, str)
|
||||||
return function()
|
return function()
|
||||||
if is_done then return end
|
if is_done then return end
|
||||||
|
|
||||||
local result = nil
|
local result
|
||||||
local loc = string.find(str, delim, ll, true) -- find the next d in the string
|
local loc = string.find(str, delim, ll, true) -- find the next d in the string
|
||||||
if loc ~= nil then -- if "not not" found then..
|
if loc ~= nil then -- if "not not" found then..
|
||||||
result = string.sub(str, ll, loc - 1) -- Save it in our array.
|
result = string.sub(str, ll, loc - 1) -- Save it in our array.
|
||||||
|
|
Loading…
Reference in a new issue