This commit is contained in:
Xinhao Yuan 2019-07-08 00:14:23 -04:00
parent 6cec9928ec
commit d0ce8c318c
1 changed files with 4 additions and 4 deletions

View File

@ -128,6 +128,10 @@ local function create(data)
})
end
if data.cmds == nil then
data.cmds = {}
end
local gap = data.gap or 0
local closed_areas
@ -357,10 +361,6 @@ local function create(data)
end
local function start_interactive()
if data.cmds == nil then
data.cmds = {}
end
local cmd_index = #data.cmds + 1
data.cmds[cmd_index] = ""