Skip to content

Commit 43e3dc4

Browse files
Renamed allTags to lockedTags
1 parent 04c842f commit 43e3dc4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,26 +186,26 @@ var HTML5AudioSoundManager = new Class({
186186
document.body.removeEventListener('touchmove', detectMove);
187187
document.body.removeEventListener('touchend', unlock);
188188

189-
var allTags = [];
189+
var lockedTags = [];
190190

191191
_this.game.cache.audio.entries.each(function (key, tags)
192192
{
193193
for (var i = 0; i < tags.length; i++)
194194
{
195-
allTags.push(tags[i]);
195+
lockedTags.push(tags[i]);
196196
}
197197
return true;
198198
});
199199

200-
var lastTag = allTags[allTags.length - 1];
200+
var lastTag = lockedTags[lockedTags.length - 1];
201201

202202
lastTag.oncanplaythrough = function ()
203203
{
204204
lastTag.oncanplaythrough = null;
205205
_this.unlocked = true;
206206
};
207207

208-
allTags.forEach(function (tag)
208+
lockedTags.forEach(function (tag)
209209
{
210210
tag.load();
211211
});

0 commit comments

Comments
 (0)