new-horizons/NewHorizons/Patches/AutoSlideProjectorPatches.cs
2022-06-13 23:09:10 -04:00

15 lines
416 B
C#

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;
}
}
}