This mod is no longer necessary, as the change appears to be reverted in patch v1.3.2.
v1.3.1
v1.3.2
onlyAllowMovement appears to always be discarded nowplease don't make me fall out of the sky when looking at the scoreboard as artificer
Only for the Seekers of the Storm(v1.3.1) patch!
re-enables sprinting (and jumping, and other body inputs) while the scoreboard is open.
RoR2.PlayerCharacterMasterController.Update may be preferrable to limit the set of body inputs that are allowed?[HarmonyPostfix, HarmonyPatch(typeof(RoR2.PlayerCharacterMasterController), nameof(RoR2.PlayerCharacterMasterController.CanSendBodyInput))]
private static void PlayerCharacterMasterController_CanSendBodyInput(bool __result, ref bool onlyAllowMovement)
{
if (!__result) return;
onlyAllowMovement = false;
}
[Warning: Unity Log] Instance not found when handling Command message [netId= ]