mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
forgot to pass in the right arguments
This commit is contained in:
parent
7489ecb7f8
commit
1d41360c00
@ -389,7 +389,7 @@ namespace NewHorizons
|
|||||||
IsWarpingBackToEye = false;
|
IsWarpingBackToEye = false;
|
||||||
OWTime.Pause(OWTime.PauseType.Loading);
|
OWTime.Pause(OWTime.PauseType.Loading);
|
||||||
// fire OnStartSceneLoad so qsb and other mods are happy
|
// fire OnStartSceneLoad so qsb and other mods are happy
|
||||||
((Delegate)AccessTools.Field(typeof(LoadManager), nameof(LoadManager.OnStartSceneLoad)).GetValue(null)).DynamicInvoke();
|
((Delegate)AccessTools.Field(typeof(LoadManager), nameof(LoadManager.OnStartSceneLoad)).GetValue(null)).DynamicInvoke(LoadManager.s_currentScene, LoadManager.s_loadingScene);
|
||||||
LoadManager.LoadSceneImmediate(OWScene.EyeOfTheUniverse);
|
LoadManager.LoadSceneImmediate(OWScene.EyeOfTheUniverse);
|
||||||
OWTime.Unpause(OWTime.PauseType.Loading);
|
OWTime.Unpause(OWTime.PauseType.Loading);
|
||||||
return;
|
return;
|
||||||
@ -939,7 +939,7 @@ namespace NewHorizons
|
|||||||
|
|
||||||
// Hide unloading
|
// Hide unloading
|
||||||
// fire OnStartSceneLoad so qsb and other mods are happy
|
// fire OnStartSceneLoad so qsb and other mods are happy
|
||||||
((Delegate)AccessTools.Field(typeof(LoadManager), nameof(LoadManager.OnStartSceneLoad)).GetValue(null)).DynamicInvoke();
|
((Delegate)AccessTools.Field(typeof(LoadManager), nameof(LoadManager.OnStartSceneLoad)).GetValue(null)).DynamicInvoke(LoadManager.s_currentScene, LoadManager.s_loadingScene);
|
||||||
FadeHandler.FadeThen(1f, () =>
|
FadeHandler.FadeThen(1f, () =>
|
||||||
{
|
{
|
||||||
// Slide reel unloading is tied to being removed from the sector, so we do that here to prevent a softlock
|
// Slide reel unloading is tied to being removed from the sector, so we do that here to prevent a softlock
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user