diff --git a/src/game/player.ts b/src/game/player.ts index bf9b7d0..679e7c8 100644 --- a/src/game/player.ts +++ b/src/game/player.ts @@ -69,11 +69,11 @@ export class Player { } reset() { + this.voxels = resetVoxels(this.voxels) this.voxelStandingOn = this.voxels[this.level.playerPos.voxelIdx] this.setToVoxelPosition(this.voxelStandingOn) this.direction = this.level.playerPos.direction this.initRotation(this.direction) - resetVoxels(this.voxels) } doneAnimating() {