forked from mrkubax10/industrialtest
Some various fixes and changes in machine.lua and electric_machine.lua
This commit is contained in:
@@ -18,8 +18,10 @@ industrialtest.Machine={}
|
||||
|
||||
function industrialtest.Machine.onConstruct(self,pos)
|
||||
local meta=minetest.get_meta(pos)
|
||||
meta:set_string("formspec",self:getFormspec(pos))
|
||||
minetest.get_node_timer(pos):start(industrialtest.updateDelay)
|
||||
if not self.withoutFormspec then
|
||||
meta:set_string("formspec",self:getFormspec(pos))
|
||||
end
|
||||
self:trigger(pos)
|
||||
end
|
||||
|
||||
function industrialtest.Machine.onDestruct(self)
|
||||
|
||||
Reference in New Issue
Block a user