Skip to content

Commit

Permalink
Bug fix where passing an object to 'addAudio' method would stop audio…
Browse files Browse the repository at this point in the history
… from being rebuilt.
  • Loading branch information
BenjaminHarding committed Oct 29, 2015
1 parent 0fedd0c commit 19ec704
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/kiwi.js
Original file line number Diff line number Diff line change
Expand Up @@ -10840,6 +10840,7 @@ var Kiwi;
};
if (Kiwi.Utils.Common.isObject(key)) {
params = key;
params.type = Kiwi.Files.File.AUDIO;
params.fileStore = this.game.fileStore;
}
else {
Expand Down
2 changes: 1 addition & 1 deletion build/kiwi.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/file/Loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ module Kiwi.Files {

if (Kiwi.Utils.Common.isObject(key)) {
params = (<any>key);
params.type = Kiwi.Files.File.AUDIO;
params.fileStore = this.game.fileStore;

} else {
Expand Down
1 change: 1 addition & 0 deletions templateGame/lib/kiwi.js
Original file line number Diff line number Diff line change
Expand Up @@ -10840,6 +10840,7 @@ var Kiwi;
};
if (Kiwi.Utils.Common.isObject(key)) {
params = key;
params.type = Kiwi.Files.File.AUDIO;
params.fileStore = this.game.fileStore;
}
else {
Expand Down

0 comments on commit 19ec704

Please sign in to comment.