mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
create empty object for use as a map
This commit is contained in:
parent
a1baa94d3c
commit
cdc49def15
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue