mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-30 23:15:32 +01: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")
 |