From 067f3cca83a6dad1f6d928e474fbb18d65ea4681 Mon Sep 17 00:00:00 2001 From: Vaughan Hilts Date: Wed, 17 Aug 2016 22:12:22 -0400 Subject: [PATCH] Sound: Fixes an issue where loopFull would not return the soundinstance that it looped from --- src/sound/Sound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/Sound.js b/src/sound/Sound.js index 1fbc91d6fa..64955a6c48 100644 --- a/src/sound/Sound.js +++ b/src/sound/Sound.js @@ -477,7 +477,7 @@ Phaser.Sound.prototype = { */ loopFull: function (volume) { - this.play(null, 0, volume, true); + return this.play(null, 0, volume, true); },