forked from Minetest/dynamic_liquid
fix another global/local issue
parent
16f389a18a
commit
d608cf0500
2
init.lua
2
init.lua
|
@ -198,7 +198,7 @@ if flow_through then
|
||||||
local node_def = minetest.registered_nodes[node_name]
|
local node_def = minetest.registered_nodes[node_name]
|
||||||
local new_groups = node_def.groups
|
local new_groups = node_def.groups
|
||||||
new_groups.flow_through = 1
|
new_groups.flow_through = 1
|
||||||
minetest.override_item(node_name,{groups = groups})
|
minetest.override_item(node_name,{groups = new_groups})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("default") then
|
if minetest.get_modpath("default") then
|
||||||
|
|
Loading…
Reference in New Issue