another attempt to fix crouch bug
added a crouch check to prevent move the head when it's already out of position also using setPosition to move player head instead of translate
This commit is contained in:
@@ -3805,7 +3805,8 @@ const level = {
|
||||
}
|
||||
},
|
||||
nextLevel() {
|
||||
if (level.bossKilled) level.levelsCleared++;
|
||||
// if (level.bossKilled)
|
||||
level.levelsCleared++;
|
||||
// level.difficultyIncrease(game.difficultyMode) //increase difficulty based on modes
|
||||
|
||||
//difficulty is increased 5 times when finalBoss dies
|
||||
|
||||
Reference in New Issue
Block a user