mirror of
https://github.com/minetest/minetest.git
synced 2024-09-12 00:26:50 +02:00
Use the CSM death formspec when CSM is enabled and use the engine death formspec when CSM is disabled. Move the CSM death formspec code to a dedicated file.
12 lines
414 B
Lua
12 lines
414 B
Lua
-- Minetest: builtin/client/init.lua
|
|
local scriptpath = core.get_builtin_path()
|
|
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 .. "chatcommands.lua")
|
|
dofile(commonpath .. "vector.lua")
|
|
dofile(clientpath .. "death_formspec.lua")
|