Skip to content

Commit 91029f1

Browse files
committed
Merge pull request #1248 from dingpinglv/develop
Update the reference of cocos2d-html5
2 parents 23f26f2 + 7214f1a commit 91029f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frameworks/cocos2d-html5

samples/js-moonwarriors/src/GameOver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ var GameOver = cc.Layer.extend({
9898

9999

100100
if(MW.SOUND){
101-
cc.audioEngine.playMusic(res.mainMainMusic_mp3);
101+
cc.audioEngine.playMusic(res.mainMainMusic_mp3, true);
102102
}
103103

104104
return true;

samples/js-moonwarriors/src/config/GameConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ MW.LIFE = 4;
5656
MW.SCORE = 0;
5757

5858
//sound
59-
MW.SOUND = false;
59+
MW.SOUND = true;
6060

6161
//enemy move type
6262
MW.ENEMY_MOVE_TYPE = {

0 commit comments

Comments
 (0)