mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02: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