Removed sliding effect

This commit is contained in:
Thibault Blanc Beyne 2018-08-21 11:10:10 +02:00
parent 52a5b2ed2f
commit 80d370eee5
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class Box {
collide(y) {
this.y = y;
this.speedX = 0;
this.speedY = 0;
this.jumpCounter = MAX_JUMP;
}