Removed assigning lockedActionsQueue to empty array since it is initialized in constructor

This commit is contained in:
Pavle Goloskokovic 2018-04-21 20:02:48 +02:00
parent f89a11793f
commit 53b69f036c

View file

@ -156,11 +156,7 @@ var HTML5AudioSoundManager = new Class({
{ {
this.locked = 'ontouchstart' in window; this.locked = 'ontouchstart' in window;
if(this.locked) if(!this.locked)
{
this.lockedActionsQueue = [];
}
else
{ {
return; return;
} }