Fix jumps
This commit is contained in:
parent
ae45a57781
commit
5887757d5c
@ -93,9 +93,12 @@ namespace NeonTea.Quakeball.Players {
|
|||||||
Networking.Net.Singleton.Instance.UpdateLocalPlayer();
|
Networking.Net.Singleton.Instance.UpdateLocalPlayer();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (WantsToJump && Player.Jump()) {
|
if (WantsToJump) {
|
||||||
|
bool Jumped = Player.Jump();
|
||||||
|
if (Jumped && Networking.Net.Singleton.Instance != null) {
|
||||||
Networking.Net.Singleton.Instance.LocalPlayerJump();
|
Networking.Net.Singleton.Instance.LocalPlayerJump();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
WantsToJump = false;
|
WantsToJump = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user