fixed voxel reset
This commit is contained in:
parent
c76df16a5c
commit
efd4369f41
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user