F.A.R.L breaks with my mod "Workbench" - I may have fixed..
Posted: Wed May 09, 2018 11:04 pm
I was happy as i could be, u know, playing factorio and all....then u make a train, a FARL module, and bammm, error all over the screen(printed, not crash)
can anyone tell me what i need to do to fix it? any idea, direction at all would be massive help already!
FARL CODE BELOW
if farl:update(event) then
GUI.updateGui(farl)
end
That's the code
local player = game.players[event.player_index]
if event.created_entity.name == "workbench-mk1" then
link to my 1st mod https://mods.factorio.com/mod/Workbench
can anyone tell me what i need to do to fix it? any idea, direction at all would be massive help already!
FARL CODE BELOW
if farl:update(event) then
GUI.updateGui(farl)
end
That's the code
local player = game.players[event.player_index]
if event.created_entity.name == "workbench-mk1" then
link to my 1st mod https://mods.factorio.com/mod/Workbench