mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Comment
This commit is contained in:
parent
69c8bdb7aa
commit
96339c8e21
@ -257,7 +257,8 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
|
||||
// Not doing else if here because idk if any of the classes below implement ISectorGroup
|
||||
|
||||
|
||||
// Null check else shuttles controls break
|
||||
if (component is Sector s && s.GetParentSector() != null && !existingSectors.Contains(s.GetParentSector()))
|
||||
{
|
||||
s.SetParentSector(sector);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user