1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

fix this path todos

This commit is contained in:
Desour 2025-02-22 15:40:37 +01:00
parent ef9e39d1c7
commit 8027e1e08c
2 changed files with 8 additions and 7 deletions

View file

@ -76,9 +76,10 @@ elseif INIT == "async_game" then
dofile(asyncpath .. "game.lua")
elseif INIT == "client" then
dofile(scriptdir .. "client" .. DIR_DELIM .. "init.lua")
elseif INIT == "sscsm" then
-- FIXME: different branch for sscsm_server
elseif INIT == "sscsm" and core.get_current_modname() == "*client_builtin*" then
dofile(scriptdir .. "sscsm_client" .. DIR_DELIM .. "init.lua")
elseif INIT == "sscsm" and core.get_current_modname() == "*server_builtin*" then
dofile(scriptdir .. "sscsm_server" .. DIR_DELIM .. "init.lua")
elseif INIT == "emerge" then
dofile(scriptdir .. "emerge" .. DIR_DELIM .. "init.lua")
elseif INIT == "pause_menu" then