Just wanted to try out the mod, but it contains an error in the code:
Code: Select all
Unknown key:"Error while running the on_init: __actuator__/control.lua:30: Error while running the event handler: __Orbital Ion Cannon__/control.lua:36: bad argument #1 to 'insert' (table expected, got nil)"
Code: Select all
script.on_event(defines.events.on_force_created, function(event)
table.insert(global.forces_ion_cannon_table, event.force.name)
global.forces_ion_cannon_table[event.force.name] = {}
end)
Cheers!