2c19d51409
* squashed: CSM: Implement register_globalstep * Re-use fatal error mechanism from server to disconnect client on CSM error * Little client functions cleanups * squashed: CSM: add core.after function * core.after is shared code between client & server * ModApiUtil get_us_time feature enabled for client
14 lines
422 B
Lua
14 lines
422 B
Lua
-- Minetest: builtin/client/init.lua
|
|
local scriptpath = core.get_builtin_path()..DIR_DELIM
|
|
local clientpath = scriptpath.."client"..DIR_DELIM
|
|
local commonpath = scriptpath.."common"..DIR_DELIM
|
|
|
|
dofile(clientpath .. "register.lua")
|
|
dofile(commonpath .. "after.lua")
|
|
dofile(commonpath .. "chatcommands.lua")
|
|
dofile(clientpath .. "preview.lua")
|
|
|
|
core.register_on_death(function()
|
|
core.display_chat_message("You died.")
|
|
end)
|