using QSB.Patches; namespace QSB.TimeSync.Patches { class TimePatches : QSBPatch { public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect; public override void DoPatches() => QSBCore.HarmonyHelper.AddPrefix("OnStartOfTimeLoop", typeof(TimePatches), nameof(PlayerCameraEffectController_OnStartOfTimeLoop)); public override void DoUnpatches() => QSBCore.HarmonyHelper.Unpatch("OnStartOfTimeLoop"); public static bool PlayerCameraEffectController_OnStartOfTimeLoop() => false; } }