mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add HTTP API to main menu (#9998)
This commit is contained in:
parent
7ec0e3df35
commit
60bab8b2d7
9 changed files with 289 additions and 112 deletions
|
@ -36,6 +36,7 @@ dofile(commonpath .. "misc_helpers.lua")
|
|||
|
||||
if INIT == "game" then
|
||||
dofile(gamepath .. "init.lua")
|
||||
assert(not core.get_http_api)
|
||||
elseif INIT == "mainmenu" then
|
||||
local mm_script = core.settings:get("main_menu_script")
|
||||
if mm_script and mm_script ~= "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue