Fix simulator stop() method

This commit is contained in:
Caitlin Hennessy 2017-12-14 09:41:01 -08:00
parent cb648019bb
commit d436bd1227

View File

@ -43,9 +43,12 @@ namespace pxsim.SoundMethods {
}
export function stop() {
return new Promise<void>(resolve => {
if (audio) {
audio.pause();
numSoundsPlaying--;
}
})
}
}