mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Wait for all bodies to shrink
This commit is contained in:
parent
63f19c6489
commit
d9e6b3be8d
@ -247,6 +247,8 @@ namespace NewHorizons.Components.SizeControllers
|
|||||||
|
|
||||||
if (Time.time > _supernovaStartTime + supernovaTime)
|
if (Time.time > _supernovaStartTime + supernovaTime)
|
||||||
{
|
{
|
||||||
|
if (_destructionVolume != null && _destructionVolume._shrinkingBodies.Count > 0) return;
|
||||||
|
if (_planetDestructionVolume != null && _planetDestructionVolume._shrinkingBodies.Count > 0) return;
|
||||||
DisableStar();
|
DisableStar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user