remove wakeup patches

This commit is contained in:
Mister_Nebula 2021-06-11 14:41:25 +01:00
parent 713e38b7e8
commit 1cbf137f41
3 changed files with 0 additions and 18 deletions

View File

@ -17,7 +17,6 @@ using QSB.QuantumSync.Patches;
using QSB.RoastingSync.Patches;
using QSB.ShipSync.Patches;
using QSB.StatueSync.Patches;
using QSB.TimeSync.Patches;
using QSB.TranslationSync.Patches;
using QSB.Utility;
using System;
@ -41,7 +40,6 @@ namespace QSB.Patches
new DeathPatches(),
new ElevatorPatches(),
new OrbPatches(),
new WakeUpPatches(),
new LogPatches(),
new QuantumVisibilityPatches(),
new ServerQuantumPatches(),

View File

@ -274,7 +274,6 @@
<Compile Include="TranslationSync\Patches\SpiralPatches.cs" />
<Compile Include="TimeSync\TimeSyncType.cs" />
<Compile Include="TimeSync\TimeSyncUI.cs" />
<Compile Include="TimeSync\Patches\WakeUpPatches.cs" />
<Compile Include="Tools\Events\PlayerFlashlightEvent.cs" />
<Compile Include="Player\Events\PlayerJoinEvent.cs" />
<Compile Include="ProbeSync\Events\PlayerProbeEvent.cs" />

View File

@ -1,15 +0,0 @@
using QSB.Patches;
namespace QSB.TimeSync.Patches
{
public class WakeUpPatches : QSBPatch
{
public override QSBPatchTypes Type => QSBPatchTypes.OnNonServerClientConnect;
public override void DoPatches()
=> QSBCore.HarmonyHelper.EmptyMethod<OWInput>("OnStartOfTimeLoop");
public override void DoUnpatches()
=> QSBCore.HarmonyHelper.Unpatch<OWInput>("OnStartOfTimeLoop");
}
}