mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Luna was having an NRE in the runwhen so skip it if we don't need it
This commit is contained in:
parent
6921a0efb9
commit
8882b70b70
@ -1,3 +1,4 @@
|
|||||||
|
using Autodesk.Fbx;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using NewHorizons.Utility.Files;
|
using NewHorizons.Utility.Files;
|
||||||
using NewHorizons.Utility.OWML;
|
using NewHorizons.Utility.OWML;
|
||||||
@ -26,6 +27,9 @@ namespace NewHorizons.Patches.EyeScenePatches
|
|||||||
Main.Instance.IsWarpingBackToEye = true;
|
Main.Instance.IsWarpingBackToEye = true;
|
||||||
__instance._sceneToLoad = SubmitActionLoadScene.LoadableScenes.GAME;
|
__instance._sceneToLoad = SubmitActionLoadScene.LoadableScenes.GAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't bother going through this stuff if we don't have to
|
||||||
|
if (AssetBundleUtilities.AreRequiredAssetsLoaded()) return true;
|
||||||
|
|
||||||
// modified from patched function
|
// modified from patched function
|
||||||
SubmitActionConfirm_ConfirmSubmit(__instance);
|
SubmitActionConfirm_ConfirmSubmit(__instance);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user