reduce the wait
This commit is contained in:
parent
c1dd1a1b48
commit
03903834a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue