forked from Mineclonia/Mineclonia
Explosions: Fix syntax error
This commit is contained in:
parent
2b5ddbd62d
commit
772ea01aff
|
@ -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 New Issue