1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Stop shadowing upvalues and definitions.

This commit is contained in:
Tim
2016-06-26 14:46:15 +02:00
committed by paramat
parent 4473627de0
commit 30b0a155fb
5 changed files with 24 additions and 23 deletions

View File

@ -284,8 +284,8 @@ else
local p = minetest.find_node_near(p0, 1, {"group:flammable"})
if p then
-- remove flammable nodes around flame
local node = minetest.get_node(p)
local def = minetest.registered_nodes[node.name]
local flammable_node = minetest.get_node(p)
local def = minetest.registered_nodes[flammable_node.name]
if def.on_burn then
def.on_burn(p)
else