1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Add HTTP API to main menu (#9998)

This commit is contained in:
rubenwardy
2020-06-06 17:17:08 +01:00
committed by GitHub
parent 7ec0e3df35
commit 60bab8b2d7
9 changed files with 289 additions and 112 deletions

View File

@@ -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