mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Move scatter after details
So that we can parent it to a root detail
This commit is contained in:
parent
5027ca8fd0
commit
6a516ef6af
@ -47,17 +47,6 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
}
|
||||
}
|
||||
if (config.Props.scatter != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
ScatterBuilder.Make(go, sector, config, mod);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
NHLogger.LogError($"Couldn't make planet scatter for [{go.name}]:\n{ex}");
|
||||
}
|
||||
}
|
||||
if (config.Props.details != null)
|
||||
{
|
||||
foreach (var detail in config.Props.details)
|
||||
@ -72,6 +61,17 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
}
|
||||
}
|
||||
if (config.Props.scatter != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
ScatterBuilder.Make(go, sector, config, mod);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
NHLogger.LogError($"Couldn't make planet scatter for [{go.name}]:\n{ex}");
|
||||
}
|
||||
}
|
||||
if (config.Props.geysers != null)
|
||||
{
|
||||
foreach (var geyserInfo in config.Props.geysers)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user