Skip to content

Commit

Permalink
Remove obsolete player setState
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickaod committed May 20, 2024
1 parent c16013b commit f8b8ede
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions assets/js/playerStates.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export class Idel extends State {
this.game.player.setState(states.JUMPING, 1);
} else if (input.includes(' ')) {
this.game.player.setState(states.ATTACK, 1);
} else if (input.includes('tap')){
// tap is not supported
}
}
}
Expand Down

0 comments on commit f8b8ede

Please sign in to comment.