automatic update

master
HybridDog 2014-08-08 13:20:17 +02:00
parent 5aacbb4cfa
commit f02900fa63
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
local load_time_start = os.clock()
local function connect_glass(node, img)
local tmp = minetest.registered_nodes[node]
tmp.tiles = img
tmp.drawtype = "glasslike_framed"
if not tmp then
return
end
tmp.tiles = img
tmp.drawtype = "glasslike_framed"
minetest.register_node(":"..node, tmp)
end