This commit is contained in:
Mister_Nebula 2022-11-08 18:56:14 +00:00
parent cb4a3d49be
commit 9e0dbe55bb

View File

@ -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;