Skip to content

Commit bcda86c

Browse files
Setting config value when setting loop property
1 parent 48f86ab commit bcda86c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ Object.defineProperty(WebAudioSound.prototype, 'loop', {
302302
return this.currentConfig.loop;
303303
},
304304
set: function (value) {
305+
this.currentConfig.loop = value;
305306
}
306307
});
307308
module.exports = WebAudioSound;

0 commit comments

Comments
 (0)