mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Don't update if its already updated
This commit is contained in:
parent
2816391966
commit
c46caf40e8
@ -747,7 +747,8 @@ namespace NewHorizons.Handlers
|
||||
var aoType = ao.GetAstroObjectType();
|
||||
|
||||
// When updating orbits of the twins be sure the FocalBody is gone
|
||||
if (aoName == AstroObject.Name.TowerTwin || aoName == AstroObject.Name.CaveTwin)
|
||||
// Don't do it if it's already an NHAstroObject since that means this was already done
|
||||
if (ao is not NHAstroObject && (aoName == AstroObject.Name.TowerTwin || aoName == AstroObject.Name.CaveTwin))
|
||||
{
|
||||
var hourglassTwinsFocal = SearchUtilities.Find("FocalBody");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user