mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Ignore asset bundle guys, remove unneeded comment, comment angler stuff
This commit is contained in:
parent
67ef927725
commit
804665b3a9
@ -438,7 +438,7 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
NHLogger.LogVerbose("Fixing anglerfish animation");
|
||||
|
||||
// Remove any event reference to its angler
|
||||
// Remove any event reference to its angler so that they dont change its state
|
||||
if (angler._anglerfishController)
|
||||
{
|
||||
angler._anglerfishController.OnChangeAnglerState -= angler.OnChangeAnglerState;
|
||||
@ -446,6 +446,7 @@ namespace NewHorizons.Builder.Props
|
||||
angler._anglerfishController.OnAnglerSuspended -= angler.OnAnglerSuspended;
|
||||
angler._anglerfishController.OnAnglerUnsuspended -= angler.OnAnglerUnsuspended;
|
||||
}
|
||||
// Disable the angler anim controller because we don't want Update or LateUpdate to run, just need it to set the initial Animator state
|
||||
angler.enabled = false;
|
||||
angler.OnChangeAnglerState(AnglerfishController.AnglerState.Lurking);
|
||||
|
||||
|
||||
@ -25,11 +25,11 @@ public static class EyeDetailCacher
|
||||
{
|
||||
NHLogger.LogVerbose($"{nameof(EyeDetailCacher)}: {detail.path}");
|
||||
|
||||
if (!string.IsNullOrEmpty(detail.assetBundle)) continue;
|
||||
if (string.IsNullOrEmpty(detail.path)) continue;
|
||||
|
||||
var planet = detail.path.Contains('/') ? detail.path.Split('/').First() : string.Empty;
|
||||
|
||||
// TODO: what other root paths can we ignore
|
||||
if (planet != "EyeOfTheUniverse_Body" && planet != "Vessel_Body")
|
||||
{
|
||||
NHLogger.LogVerbose($"{nameof(EyeDetailCacher)}: Looking for {detail.path}");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user