Skip to content

Commit cb0d9c5

Browse files
committed
Fixes bug phaserjs#906 by adding a check for isDecoded in the update loop.
1 parent 5aec4cf commit cb0d9c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/Sound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Phaser.Sound.prototype = {
362362

363363
this.onDecoded.dispatch(this);
364364

365-
};
365+
}
366366

367367
if (this.pendingPlayback && this.game.cache.isSoundReady(this.key))
368368
{

0 commit comments

Comments
 (0)