mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Prevent softlock due to slide reels when changing system/reloading
This commit is contained in:
parent
899de6943b
commit
f60620c5a5
@ -811,6 +811,12 @@ namespace NewHorizons
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (LoadManager.GetCurrentScene() == OWScene.SolarSystem || LoadManager.GetCurrentScene() == OWScene.EyeOfTheUniverse)
|
||||||
|
{
|
||||||
|
// Slide reel unloading is tied to being removed from the sector, so we do that here to prevent a softlock
|
||||||
|
Locator.GetPlayerSectorDetector().RemoveFromAllSectors();
|
||||||
|
}
|
||||||
|
|
||||||
if (IsChangingStarSystem) return;
|
if (IsChangingStarSystem) return;
|
||||||
|
|
||||||
IsWarpingFromShip = warp;
|
IsWarpingFromShip = warp;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user