Bug (loadScene)

Bug (loadScene)
0

i have script of loading scene attached to button everything works ok
but when click many time too quickly on the button the loaded scene will have problems like touch event not working anymore
in console nothing logged
also i tried to prevent too many clicks but nothing still the same problem
That what i tried
if(this.IsLoading==false){
this.IsLoading==true;
cc.director.loadScene(“Menu”, function (err, data) {
cc.audioEngine.uncacheAll();
});
}

i fegure what cause the problem
am using cocos creator 2.3 i used this line to disable multi touch but it seems it cause a problem also

cc.macro.ENABLE_MULTI_TOUCH = false;

Same here, new macro on cocos creator 2.3 cause this issue.