mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add online content repository
Replaces mods and texture pack tabs with a single content tab
This commit is contained in:
@@ -338,7 +338,7 @@ local function parse_config_file(read_all, parse_mods)
|
||||
-- Parse games
|
||||
local games_category_initialized = false
|
||||
local index = 1
|
||||
local game = gamemgr.get_game(index)
|
||||
local game = pkgmgr.get_game(index)
|
||||
while game do
|
||||
local path = game.path .. DIR_DELIM .. FILENAME
|
||||
local file = io.open(path, "r")
|
||||
@@ -365,7 +365,7 @@ local function parse_config_file(read_all, parse_mods)
|
||||
end
|
||||
|
||||
index = index + 1
|
||||
game = gamemgr.get_game(index)
|
||||
game = pkgmgr.get_game(index)
|
||||
end
|
||||
|
||||
-- Parse mods
|
||||
|
Reference in New Issue
Block a user