From 9e0dbe55bb0e1ebf3cdac21589e4f6c1a16abb83 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Tue, 8 Nov 2022 18:56:14 +0000 Subject: [PATCH] gorp --- QSB/Inputs/Patches/InputPatches.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QSB/Inputs/Patches/InputPatches.cs b/QSB/Inputs/Patches/InputPatches.cs index 7196a62b..b4ad08fa 100644 --- a/QSB/Inputs/Patches/InputPatches.cs +++ b/QSB/Inputs/Patches/InputPatches.cs @@ -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;