mirror of
https://github.com/photonstorm/phaser
synced 2025-03-06 00:07:31 +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;
|
return true;
|
||||||
},
|
},
|
||||||
stop: function () {
|
stop: function () {
|
||||||
if (this.checkTouchLocked('method', 'stop')) {
|
if (this.manager.isLocked(this, 'stop')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!BaseSound.prototype.stop.call(this)) {
|
if (!BaseSound.prototype.stop.call(this)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue