mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//multi: luacheck fix
This commit is contained in:
parent
1c8d572bb8
commit
23e08c5693
@ -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 New Issue
Block a user