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 stop method
This commit is contained in:
parent
5c0c89022e
commit
4b6287c4cd
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ var HTML5AudioSound = new Class({
|
|||
return true;
|
||||
},
|
||||
stop: function () {
|
||||
if (this.checkTouchLocked('method', 'stop')) {
|
||||
if (this.manager.isLocked(this, 'stop')) {
|
||||
return false;
|
||||
}
|
||||
if (!BaseSound.prototype.stop.call(this)) {
|
||||
|
|
Loading…
Reference in a new issue