bugfix: deleting definitions

[?]
May 1, 2023, 4:54 AM
WBDC7JGWUNMD335A7HRQADBIZUX66E74C6VMBV6OIGYUDK5KMIIAC

Dependencies

  • [2] 77K72JA4 indent
  • [3] KKDO773S bugfix: only include files with numeric _prefixes_
  • [4] TNRO6KLZ new live app
  • [5] QFFTXR7E new file-system format for freewheeling apps

Change contents

  • replacement in main.lua at line 86
    [3.1149][2.2:92](),[2.92][3.1215:1444](),[3.191][3.1215:1444](),[3.3472][3.1215:1444]()
    local numeric_prefix, root = filename:match('^(%d+)-(.+)')
    if numeric_prefix then
    if tonumber(numeric_prefix) > 0 then -- skip 0000
    app.Filename[root] = filename
    table.insert(app.Filenames_to_load, filename)
    app.Final_prefix = math.max(app.Final_prefix, tonumber(numeric_prefix))
    [3.1149]
    [3.3679]
    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
    app.Filename[root] = filename
    table.insert(app.Filenames_to_load, filename)
    app.Final_prefix = math.max(app.Final_prefix, tonumber(numeric_prefix))
    end