Using checkTouchLocked with pause method

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:19:15 +01:00
parent 300ac5b859
commit 893882fe95

View file

@ -78,6 +78,9 @@ var HTML5AudioSound = new Class({
return true;
},
pause: function () {
if (this.checkTouchLocked('method', 'pause')) {
return false;
}
if (this.startTime > 0) {
return false;
}