quantum-space-buddies/QSB/Inputs/Patches/InputPatches.cs
2021-06-18 21:54:32 +01:00

16 lines
323 B
C#

using QSB.Patches;
namespace QSB.Inputs.Patches
{
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;
}
}