i noticed the same thing. adding
at the end of control.lua will fix that.
It works! But... game crashes, when trying to blueprint anything with 'create blueprint' tool (pick tool, then select anything with it). Error message:
The mod Logistic Network Channels (1.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LogiNetChannels::on_player_setup_blueprint (ID 70)
LogiNetChannels/control.lua:593: attempt to index field 'blueprint_mappings' (a nil value)
stack traceback:
LogiNetChannels/control.lua:593: in function <LogiNetChannels/control.lua:586>
Where line 593 is:
global.blueprint_mappings[player.index] = event.mapping.get()
in this script:
-- saving to copy-paste tool & cut-paste tool
script.on_event(defines.events.on_player_setup_blueprint, function(event)
local player = game.players[event.player_index]
local cursor = player.cursor_stack
if cursor and cursor.valid_for_read and cursor.type == 'blueprint' then
save_blueprint_data(cursor, event.mapping.get())
else
global.blueprint_mappings[player.index] = event.mapping.get()
end
end)