mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
also do vessel here
This commit is contained in:
parent
91b6230a70
commit
e56a3e6440
@ -998,9 +998,13 @@ namespace NewHorizons
|
|||||||
{
|
{
|
||||||
CurrentStarSystem = _defaultSystemOverride;
|
CurrentStarSystem = _defaultSystemOverride;
|
||||||
|
|
||||||
if (BodyDict.TryGetValue(_defaultSystemOverride, out var bodies) && bodies.Any(x => x.Config?.Spawn?.shipSpawn != null))
|
// #738 - Sometimes the override will not support spawning regularly, so always warp in if possible
|
||||||
|
if (SystemDict[_defaultSystemOverride].Config.Vessel?.spawnOnVessel == true)
|
||||||
|
{
|
||||||
|
IsWarpingFromVessel = true;
|
||||||
|
}
|
||||||
|
else if (BodyDict.TryGetValue(_defaultSystemOverride, out var bodies) && bodies.Any(x => x.Config?.Spawn?.shipSpawn != null))
|
||||||
{
|
{
|
||||||
// #738 - Sometimes the override will not support spawning regularly, so always warp in if possible
|
|
||||||
IsWarpingFromShip = true;
|
IsWarpingFromShip = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user