mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add isStellarRemnant to creator
This commit is contained in:
parent
8fd93a30d4
commit
2fb3a39571
@ -199,6 +199,17 @@ namespace NewHorizons.Handlers
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (body.Config.isStellarRemnant)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.LogError($"Couldn't make stellar remnant for [{body.Config.name}]:\n{ex}");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
UpdateBody(body, existingPlanet);
|
UpdateBody(body, existingPlanet);
|
||||||
@ -217,6 +228,11 @@ namespace NewHorizons.Handlers
|
|||||||
// If the ground state object isn't made yet do it later
|
// If the ground state object isn't made yet do it later
|
||||||
_nextPassBodies.Add(body);
|
_nextPassBodies.Add(body);
|
||||||
}
|
}
|
||||||
|
else if (body.Config.isStellarRemnant)
|
||||||
|
{
|
||||||
|
// If the star object isn't made yet do it later
|
||||||
|
_nextPassBodies.Add(body);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user