From 03903834a82df626e02c96ca3e57e29bd8dce5d7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 24 Nov 2022 16:03:25 +0100 Subject: [PATCH] reduce the wait --- js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/player.js b/js/player.js index e04c10a..4f4fc38 100644 --- a/js/player.js +++ b/js/player.js @@ -97,7 +97,7 @@ export class Joueur extends Cube { if ( key.code == "Space" && !this.movementData.state && - now - this.movementData.lastJump > 400 + now - this.movementData.lastJump > 300 ) { this.movementData.changeRotation( this.data.rotation.y - Math.PI / 2