mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 03:28:26 +00:00
gorp
This commit is contained in:
parent
cb4a3d49be
commit
9e0dbe55bb
@ -12,6 +12,11 @@ internal class InputPatches : QSBPatch
|
||||
[HarmonyPatch(typeof(AbstractCommands), nameof(AbstractCommands.Update))]
|
||||
public static bool AbstractCommands_Update(AbstractCommands __instance)
|
||||
{
|
||||
if (QSBInputManager.Instance.InputsEnabled)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
__instance.Consumed = false;
|
||||
__instance.WasActiveLastFrame = __instance.IsActiveThisFrame;
|
||||
__instance.IsActiveThisFrame = false;
|
||||
|
Loading…
Reference in New Issue
Block a user