We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a75b1 commit 1f3402eCopy full SHA for 1f3402e
builtin/modmgr.lua
@@ -513,6 +513,8 @@ function modmgr.get_worldconfig(worldpath)
513
514
if key == "gameid" then
515
worldconfig.id = parts[2]:trim()
516
+ elseif key == "backend" then
517
+ worldconfig.backend = parts[2]:trim()
518
else
519
local key = parts[1]:trim():sub(10)
520
if parts[2]:trim() == "true" then
@@ -729,7 +731,7 @@ function modmgr.handle_configure_world_buttons(fields)
729
731
local worldfile = io.open(filename,"w")
730
732
733
if worldfile then
- worldfile:write("gameid = " .. modmgr.worldconfig.id .. "\n")
734
+ worldfile:write("gameid = " .. modmgr.worldconfig.id .. "\nbackend = " .. modmgr.worldconfig.backend .. "\n")
735
736
local rawlist = filterlist.get_raw_list(modmgr.modlist)
737
0 commit comments