diff --git a/front/src/Phaser/Login/SelectCharacterScene.ts b/front/src/Phaser/Login/SelectCharacterScene.ts index 98b5262e..8a52afcd 100644 --- a/front/src/Phaser/Login/SelectCharacterScene.ts +++ b/front/src/Phaser/Login/SelectCharacterScene.ts @@ -168,7 +168,7 @@ export class SelectCharacterScene extends Phaser.Scene { let row = Math.floor(i / this.nbCharactersPerRow); let [x, y] = this.getCharacterPosition(col, row); - let player = this.physics.add.sprite(x, y, playerResource.name, playerResource.name); + let player = this.physics.add.sprite(x, y, playerResource.name, 0); player.setBounce(0.2); player.setCollideWorldBounds(true); this.anims.create({