mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix auto projector container not enabled
This commit is contained in:
parent
3e0e809420
commit
584b76458a
14
NewHorizons/Patches/AutoSlideProjectorPatches.cs
Normal file
14
NewHorizons/Patches/AutoSlideProjectorPatches.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
|
namespace NewHorizons.Patches;
|
||||||
|
|
||||||
|
[HarmonyPatch]
|
||||||
|
public class AutoSlideProjectorPatches
|
||||||
|
{
|
||||||
|
[HarmonyPostfix]
|
||||||
|
[HarmonyPatch(typeof(AutoSlideProjector), nameof(AutoSlideProjector.Play))]
|
||||||
|
public static void AutoSlideProjector_Play(ref SlideCollectionContainer ____slideCollectionItem)
|
||||||
|
{
|
||||||
|
____slideCollectionItem.enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user