mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Explosions: Fix syntax error
This commit is contained in:
parent
2b5ddbd62d
commit
772ea01aff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ local STEP_LENGTH = 0.3
|
||||||
-- How many rays to compute entity exposure to explosion
|
-- How many rays to compute entity exposure to explosion
|
||||||
local N_EXPOSURE_RAYS = 16
|
local N_EXPOSURE_RAYS = 16
|
||||||
|
|
||||||
minetest.register_on_mods_loaded(function())
|
minetest.register_on_mods_loaded(function()
|
||||||
-- Store blast resistance values by content ids to improve performance.
|
-- Store blast resistance values by content ids to improve performance.
|
||||||
for name, def in pairs(minetest.registered_nodes) do
|
for name, def in pairs(minetest.registered_nodes) do
|
||||||
node_blastres[minetest.get_content_id(name)] = def._mcl_blast_resistance or 0
|
node_blastres[minetest.get_content_id(name)] = def._mcl_blast_resistance or 0
|
||||||
|
|
Loading…
Reference in a new issue