Add option to disable save patching

Add factorio.enable_save_patching config entry to allow disabling the
save patching done on startup.  This is for running vannila games or
scenarios that are not compatible with Clusterio.
This commit is contained in:
Hornwitser committed 2020-07-04 16:45:42 +02:00
1 parent 0969e07d79
commit 9458155a1b
6 files changed
+43 -2

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ based on the built in
library to Factorio and requires scenarios to be coded specifically for
it. Mods on the other hand work without modifications.
This can be disabled with the `factorio.enable_save_patching` config on
a per instance basis, however disabling it means that modules are not
loaded into the game and most plugins will not function.
<sub>1: Before version 2.0 of Clusterio this was done at runtime
with a patcher called Hotpatch, but due to the difficulty in supporting
run time patching and the lack of documentation it was replace it with