mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Add online content repository
Replaces mods and texture pack tabs with a single content tab
This commit is contained in:
parent
36eb823b1c
commit
87ad4d8e7f
46 changed files with 1696 additions and 860 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue