Make mouse lock less aggressive by disabling it when game is not focused
This commit is contained in:
parent
2dcea14729
commit
9d491d34de
@ -64,7 +64,7 @@ namespace NeonTea.Quakeball.Players {
|
||||
}
|
||||
|
||||
private void Update() {
|
||||
if (DisableInput > 0) {
|
||||
if (DisableInput > 0 || !Application.isFocused) {
|
||||
CrouchAction.Disable();
|
||||
JumpAction.Disable();
|
||||
LookAction.Disable();
|
||||
|
Loading…
Reference in New Issue
Block a user