1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-15 23:10:31 +01:00

Removed a global variable in moretrees' node definitions

This commit is contained in:
LeMagnesium 2015-08-06 21:51:01 +02:00
parent 75d8fb5479
commit cc3b0b66ca

View File

@ -233,7 +233,7 @@ for i in ipairs(moretrees.treelist) do
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local fdir = node.param2 or 0
nfdir = dirs2[fdir+1]
local nfdir = dirs2[fdir+1]
minetest.add_node(pos, {name = "moretrees:"..treename.."_trunk", param2 = nfdir})
end,
})