jeroon wrote:Fixes to get it working until it gets fixed by darius456:
1) change the file name to2) in control.lua, delete the linesCode: Select all
TimeButtons_0.2.1.zip
and replace them withCode: Select all
game.oninit(function() init = 0 end) game.onload (function() init = 0 end)
Code: Select all
game.onevent(defines.events.onplayercreated, function(event) init = 0 end
Thanks for this fix. I think you may have missed a bracket at the end. Or it got mangled by the forum.
Should it not be:
Code: Select all
game.onevent(defines.events.onplayercreated, function(event)
init = 0
end)