Fix some machines locking sometimes

This commit is contained in:
2023-11-15 21:44:02 +01:00
parent 659e8ad5ed
commit 8724b563c4
7 changed files with 46 additions and 56 deletions

View File

@@ -91,7 +91,7 @@ local function registerSolarPanelGenerator(config)
},
onConstruct=solarPanel.onConstruct,
onTimer=function(pos,elapsed,meta,inv)
solarPanel.onTimer(pos,elapsed,meta,inv,config)
return solarPanel.onTimer(pos,elapsed,meta,inv,config)
end
})
end