This commit is contained in:
Peli de Halleux 2017-06-12 15:30:25 -07:00
commit d3eb09d48d
2 changed files with 3 additions and 3 deletions

View File

@ -342,8 +342,8 @@ namespace music {
control.raiseEvent(MICROBIT_MELODY_ID, MusicEvent.BackgroundMelodyResumed); control.raiseEvent(MICROBIT_MELODY_ID, MusicEvent.BackgroundMelodyResumed);
} }
} }
currentMelody = null;
control.raiseEvent(MICROBIT_MELODY_ID, currentMelody.background ? MusicEvent.BackgroundMelodyEnded : MusicEvent.MelodyEnded); control.raiseEvent(MICROBIT_MELODY_ID, currentMelody.background ? MusicEvent.BackgroundMelodyEnded : MusicEvent.MelodyEnded);
currentMelody = null;
}) })
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "pxt-microbit", "name": "pxt-microbit",
"version": "0.12.24", "version": "0.12.25",
"description": "micro:bit target for Microsoft MakeCode (PXT)", "description": "micro:bit target for Microsoft MakeCode (PXT)",
"keywords": [ "keywords": [
"JavaScript", "JavaScript",
@ -38,6 +38,6 @@
"semantic-ui-less": "^2.2.4" "semantic-ui-less": "^2.2.4"
}, },
"dependencies": { "dependencies": {
"pxt-core": "0.12.82" "pxt-core": "0.12.83"
} }
} }