mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
16 lines
332 B
C#
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;
|
|
}
|
|
}
|