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 play method
This commit is contained in:
parent
cee22b158c
commit
ce6f3400e2
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ var HTML5AudioSound = new Class({
|
|||
BaseSound.call(this, manager, key, config);
|
||||
},
|
||||
play: function (markerName, config) {
|
||||
if (this.checkTouchLocked('method', 'play', [markerName, config])) {
|
||||
if (this.manager.isLocked(this, 'play', [markerName, config])) {
|
||||
return false;
|
||||
}
|
||||
if (!BaseSound.prototype.play.call(this, markerName, config)) {
|
||||
|
|
Loading…
Reference in a new issue