Move scatter after details

So that we can parent it to a root detail
This commit is contained in:
Noah Pilarski 2024-05-31 06:18:33 -04:00
parent 5027ca8fd0
commit 6a516ef6af

View File

@ -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)