quantum-space-buddies/QSB/Inputs/Patches/InputPatches.cs

16 lines
332 B
C#
Raw Normal View History

2021-06-11 13:34:27 +00:00
using QSB.Patches;
namespace QSB.Inputs.Patches
{
2021-07-12 21:02:50 +00:00
internal class InputPatches : QSBPatch
2021-06-11 13:34:27 +00:00
{
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
public override void DoPatches()
2021-06-18 20:54:32 +00:00
=> Prefix(nameof(OWInput_Update));
2021-06-11 13:34:27 +00:00
public static bool OWInput_Update()
=> QSBInputManager.Instance.InputsEnabled;
}
}