quantum-space-buddies/QSB/Inputs/Patches/InputPatches.cs
Mister_Nebula 85a3f4770e cleanup
2021-07-12 22:02:50 +01:00

16 lines
332 B
C#

using QSB.Patches;
namespace QSB.Inputs.Patches
{
internal class InputPatches : QSBPatch
{
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
public override void DoPatches()
=> Prefix(nameof(OWInput_Update));
public static bool OWInput_Update()
=> QSBInputManager.Instance.InputsEnabled;
}
}