mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 08:33:40 +00:00
Using manager.isLocked instead of removed checkTouchLocked method for pause method
This commit is contained in:
parent
ce6f3400e2
commit
fb775d4063
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ var HTML5AudioSound = new Class({
|
|||
return true;
|
||||
},
|
||||
pause: function () {
|
||||
if (this.checkTouchLocked('method', 'pause')) {
|
||||
if (this.manager.isLocked(this, 'pause')) {
|
||||
return false;
|
||||
}
|
||||
if (this.startTime > 0) {
|
||||
|
|
Loading…
Reference in a new issue