mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Using manager.isLocked instead of removed checkTouchLocked method for loop property
This commit is contained in:
parent
25f22533fd
commit
252b577ab4
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'loop', {
|
|||
},
|
||||
set: function (value) {
|
||||
this.currentConfig.loop = value;
|
||||
if (this.checkTouchLocked('property', 'loop', value)) {
|
||||
if (this.manager.isLocked(this, 'loop', value)) {
|
||||
return;
|
||||
}
|
||||
if (this.audio) {
|
||||
|
|
Loading…
Reference in a new issue