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 NewHorizons.Utility.Files;
|
||||
using NewHorizons.Utility.OWML;
|
||||
@ -27,6 +28,9 @@ namespace NewHorizons.Patches.EyeScenePatches
|
||||
__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
|
||||
SubmitActionConfirm_ConfirmSubmit(__instance);
|
||||
__instance._receivedSubmitAction = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user