create empty object for use as a map

This commit is contained in:
Eric Rosenbaum 2017-02-02 14:51:02 -05:00
parent a1baa94d3c
commit cdc49def15

View file

@ -139,7 +139,7 @@ function AudioPlayer (audioEngine) {
this.clearEffects();
// sound players that are currently playing, indexed by the sound's md5
this.activeSoundPlayers = Object.create({});
this.activeSoundPlayers = Object.create(null);
}
AudioPlayer.prototype.playSound = function (md5) {