Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Quick fix to shuttle train broken by Factorio 0.13.5
Browse files Browse the repository at this point in the history
Factorio 0.13.5 does a CRC check to the mod's lua global table before and after on_load events. Changed on_load to on_configuration_changed.
  • Loading branch information
Credomane Evonguard committed Jul 6, 2016
1 parent 21a8c40 commit 04666b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control.lua
Expand Up @@ -18,7 +18,7 @@ function load()
end

script.on_init(init)
script.on_load(load)
script.on_configuration_changed(load)


script.on_event(defines.events.on_tick, function(event) on_tick(event) end) -- register update function
Expand Down

0 comments on commit 04666b9

Please sign in to comment.