Fixed Map being broken again after dying
This commit is contained in:
parent
2092a9f724
commit
159032dd84
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue