diff --git a/SRMP/Patches/Patch_PauseFix.cs b/SRMP/Patches/Patch_PauseFix.cs index 26d1f81..13d4105 100644 --- a/SRMP/Patches/Patch_PauseFix.cs +++ b/SRMP/Patches/Patch_PauseFix.cs @@ -57,6 +57,17 @@ namespace SRMultiplayer.Patches } } + [HarmonyPatch(typeof(MapUI))] + [HarmonyPatch("OpenMap")] + class FIX_MapUI_OpenMap + { + static void Postfix(MapUI __instance) + { + // Fix input mode not refreshing after dying + SRInput.instance.SetInputMode(SRInput.InputMode.PAUSE); + } + } + [HarmonyPatch(typeof(vp_FPInput))] [HarmonyPatch("Update")] class FIX_FPInput_Pause