diff --git a/src/microbit/pxt_flappy_bird/flappy_bird.md b/src/microbit/pxt_flappy_bird/flappy_bird.md index 57105fd979..1dbd0b186c 100644 --- a/src/microbit/pxt_flappy_bird/flappy_bird.md +++ b/src/microbit/pxt_flappy_bird/flappy_bird.md @@ -243,8 +243,10 @@ basic.forever(function () { game.gameOver() } } + if (hinder.get(LedSpriteProperty.X) == 0){ game.addScore(1) hinder.delete() + } } }) ```