mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Export without the graphics directory when it has no matching install
If host.factorio_graphics_directory had no install matching the major and minor version of the instance, or did not exist, findVersion threw and the whole export failed. Without the setting the same instance exports everything except the base game icons, so it now logs a warning that names the setting and exports without it.
This commit is contained in:
3 files changed
+49
-3
No files matched your search
@@ -363,6 +363,7 @@ Defaults to "factorio".
|
||||
Directory to read the base game's icons from when exporting data.
|
||||
The headless build of Factorio has no graphics, so instances running it export none of the base game's icons unless this points to a full install of Factorio.
|
||||
Like `host.factorio_directory` this can either point to a Factorio directory, or to a directory containing multiple versions, in which case the latest one matching the major and minor version of the instance is used.
|
||||
If there is no install matching the instance, a warning is logged and the data is exported without it.
|
||||
|
||||
Defaults to null.
|
||||
|
||||
|
||||
Reference in new issue
Block a user