as well as under the factorio api as early as 0.14.6 under Data-Lifecycle and section#3: control.lua initialization.Because control.lua is reloaded and re-run every time a new game session is started, you don't need to completely restart Factorio to notice changes made to control.lua; simply saving/loading or starting a new game is sufficient.
Whenever I do this and attempt to load a save, I getBecause this is run every time a save file is created or loaded you don't need to restart the game to see changes made to the control.lua file. Simply restarting or reloading a save will re-run this stage.
opening file __mod name__/control.lua-- error code -103
or attempt to start a new game I get error
A new game with error 102 seems to crash the game to desktop (just closes the game?)opening file __mod name__/control.lua-- error code -102
Is the game supposed to continue after control.lua is changed or are we required to restart the game every time? These statements should not be in the api if the game doesn't function that way.