Commit bc521dc0 authored by liujiaxin's avatar liujiaxin

change this

parent 514c3039
...@@ -165,9 +165,9 @@ cc.Class({ ...@@ -165,9 +165,9 @@ cc.Class({
// LIFE-CYCLE CALLBACKS: // LIFE-CYCLE CALLBACKS:
onLoad () { onLoad () {
window['kk'] = this; window['kk'] = this;
cc.director.on('STOP_ALL_AUDIO', () => { cc.director.on('STOP_ALL_AUDIO', function (){
this.pause(); this.pause();
}); }, this);
}, },
setPlayInteractivateMode(mode) { setPlayInteractivateMode(mode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment