mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add 2 comments
This commit is contained in:
parent
0bbd869104
commit
58ee06fb7b
@ -9,6 +9,7 @@ namespace NewHorizons.Patches
|
||||
[HarmonyPatch(typeof(MeteorController), nameof(MeteorController.Suspend), new System.Type[0])]
|
||||
public static void MeteorController_Suspend(MeteorController __instance)
|
||||
{
|
||||
// Meteors launch inactive because of prefab. So let's fix that.
|
||||
__instance.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -58,6 +58,7 @@ namespace NewHorizons.Patches
|
||||
|
||||
if (__instance._mindSlideCollection == mindSlideCollection) return false;
|
||||
|
||||
// Original method didn't check if old _slideCollectionItem was null.
|
||||
if (__instance._slideCollectionItem != null)
|
||||
{
|
||||
__instance._slideCollectionItem.onSlideTextureUpdated -= __instance.OnSlideTextureUpdated;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user