diff --git a/src/index.js b/src/index.js index a2f5f3d..9e737fe 100644 --- a/src/index.js +++ b/src/index.js @@ -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) {