-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from Oarcinae/fix_2.1.10_missing_radius_mod
Fix missing migrations for other planet configs.
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- For non-supported surfaces, make sure they have the default settings. | ||
if storage.ocfg.surfaces_config["aquilo"].spawn_config.fill_tile == nil then | ||
storage.ocfg.surfaces_config["aquilo"] = { | ||
spawn_config = NAUVIS_SPAWN_CONFIG, | ||
starting_items = NAUVIS_STARTER_ITEMS | ||
} | ||
end | ||
if storage.ocfg.surfaces_config["vulcanus"].spawn_config.fill_tile == nil then | ||
storage.ocfg.surfaces_config["vulcanus"] = { | ||
spawn_config = NAUVIS_SPAWN_CONFIG, | ||
starting_items = NAUVIS_STARTER_ITEMS | ||
} | ||
end | ||
if storage.ocfg.surfaces_config["gleba"].spawn_config.fill_tile == nil then | ||
storage.ocfg.surfaces_config["gleba"] = { | ||
spawn_config = NAUVIS_SPAWN_CONFIG, | ||
starting_items = NAUVIS_STARTER_ITEMS | ||
} | ||
end | ||
log("Updating non-supported surfaces with default nauvis spawn_config and starting_items.") |