Skip to content

Commit 067f3cc

Browse files
committed
Sound: Fixes an issue where loopFull would not return the soundinstance that it looped from
1 parent 36c0645 commit 067f3cc

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
@@ -477,7 +477,7 @@ Phaser.Sound.prototype = {
477477
*/
478478
loopFull: function (volume) {
479479

480-
this.play(null, 0, volume, true);
480+
return this.play(null, 0, volume, true);
481481

482482
},
483483

0 commit comments

Comments
 (0)