fix: remove player position updating
This commit is contained in:
parent
c5e40103a2
commit
12d8aa97e4
|
@ -464,9 +464,9 @@ export default class GameLevel extends Scene {
|
|||
this.playerFalloff(viewportCenter, baseViewportSize);
|
||||
|
||||
// Update player safe position
|
||||
if (this.player.onGround) {
|
||||
this.playerSpawn = this.player.position.clone();
|
||||
}
|
||||
// if (this.player.onGround) {
|
||||
// this.playerSpawn = this.player.position.clone();
|
||||
// }
|
||||
|
||||
//TODO - this is for testing
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user