aboutsummaryrefslogtreecommitdiff
path: root/builtin/common
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/common')
0 files changed, 0 insertions, 0 deletions
kwb">print = core.debug math.randomseed(os.time()) os.setlocale("C", "numeric") minetest = core -- Load other files local scriptdir = core.get_builtin_path()..DIR_DELIM local gamepath = scriptdir.."game"..DIR_DELIM local commonpath = scriptdir.."common"..DIR_DELIM local asyncpath = scriptdir.."async"..DIR_DELIM dofile(commonpath.."strict.lua") dofile(commonpath.."serialize.lua") dofile(commonpath.."misc_helpers.lua") if INIT == "game" then dofile(gamepath.."init.lua") elseif INIT == "mainmenu" then local mainmenuscript = core.setting_get("main_menu_script") if mainmenuscript ~= nil and mainmenuscript ~= "" then dofile(mainmenuscript) else