Skip to content

Commit

Permalink
fix(levels): simplify 8
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed May 30, 2024
1 parent 346d1ef commit f95cdf2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/levels/8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ export const script = `
*/
const player = get('player')[0]
player.move(0, 0)
function movePlayer() {
// how can we move the player?
player.move(0, 0)
}
player.onUpdate(() => movePlayer())
Expand Down

0 comments on commit f95cdf2

Please sign in to comment.