[ScrollFlight] bump version

This commit is contained in:
NotAKidoS 2025-04-03 04:00:48 -05:00
parent 75de6d33a0
commit 73d76010bc
2 changed files with 8 additions and 8 deletions

View file

@ -42,8 +42,8 @@ public class ScrollFlightMod : MelonMod
{
CVRWorld.GameRulesUpdated += OnApplyMovementSettings; // thank you kafe for using actions
}
bool wasFlying = false;
private bool wasFlying;
// stole from LucMod :3
public override void OnUpdate()
@ -66,7 +66,7 @@ public class ScrollFlightMod : MelonMod
wasFlying = isFlying;
if (!isFlying
|| Input.GetKey(KeyCode.Mouse2) // scroll zoom
|| Input.GetKey(KeyCode.Mouse2) // scroll zoom (TODO: Use CVRInputManager.zoom, but requires fixing zoom toggle mode on client)
|| Input.GetKey(KeyCode.LeftControl) // third person / better interact desktop
|| Cursor.lockState != CursorLockMode.Locked) // unity explorer / in menu
return;