scenario: delete a definition, restart Before this commit, the deleted definition would return.
3LU2TYSWNQ54STN7EBBIRYM5NR4XWPX2SUV337G7NJCUPXIG67GQC
local numeric_prefix, root = filename:match('^(%d+)-(.+)')
if numeric_prefix then
if tonumber(numeric_prefix) > 0 then -- skip 0000
Live.filename[root] = filename
table.insert(Live.filenames_to_load, filename)
Live.final_prefix = math.max(Live.final_prefix, tonumber(numeric_prefix))
if io.open(love.filesystem.getSaveDirectory()..'/'..filename) then
local numeric_prefix, root = filename:match('^(%d+)-(.+)')
if numeric_prefix then
if tonumber(numeric_prefix) > 0 then -- skip 0000
Live.filename[root] = filename
table.insert(Live.filenames_to_load, filename)
Live.final_prefix = math.max(Live.final_prefix, tonumber(numeric_prefix))
end