From efd4369f418f01d42185ac8a032d0774d7cff171 Mon Sep 17 00:00:00 2001 From: Marius Unsel Date: Mon, 23 Feb 2026 03:23:36 +0100 Subject: [PATCH] fixed voxel reset --- src/game/player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {