Skip to content

Commit

Permalink
Merge pull request zmxv#363 from escobar5/master
Browse files Browse the repository at this point in the history
Fix for zmxv#362
  • Loading branch information
trepidity authored Feb 15, 2018
2 parents 5a7f1cf + a303c82 commit 436db53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function Sound(filename, basePath, onError, options) {
}

this._loaded = false;
this._key = asset ? filename : djb2Code(filename); //if the file is an asset, use the asset number as the key
this._playing = false;
this._key = djb2Code(filename);
this._duration = -1;
this._numberOfChannels = -1;
this._volume = 1;
Expand Down

0 comments on commit 436db53

Please sign in to comment.