Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alpicola committed Jul 1, 2011
1 parent 80ca58b commit 0d2140b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion enchant.js
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ enchant.Game = enchant.Class.create(enchant.EventTarget, {
if (this._intervalID) {
window.clearInterval(this._intervalID);
} else if (this._assets.length) {
if (!enchant.Sound.enabledInMobileSafari && !game._touched &&
if (enchant.Sound.enabledInMobileSafari && !game._touched &&
VENDER_PREFIX == 'webkit' && TOUCH_ENABLED) {
var scene = new Scene();
scene.backgroundColor = '#000';
Expand Down
2 changes: 1 addition & 1 deletion enchant.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/action/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ window.onload = function() {
if (game.input.up) {
this.jumpBoost = 5;
this.ay = -5;
game.assets['jump.wav'].play();
game.assets['jump.wav'].clone().play();
}
}
this.ax = 0;
Expand Down

0 comments on commit 0d2140b

Please sign in to comment.