reduce the wait

This commit is contained in:
Mylloon 2022-11-24 16:03:25 +01:00
parent c1dd1a1b48
commit 03903834a8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -97,7 +97,7 @@ export class Joueur extends Cube {
if ( if (
key.code == "Space" && key.code == "Space" &&
!this.movementData.state && !this.movementData.state &&
now - this.movementData.lastJump > 400 now - this.movementData.lastJump > 300
) { ) {
this.movementData.changeRotation( this.movementData.changeRotation(
this.data.rotation.y - Math.PI / 2 this.data.rotation.y - Math.PI / 2