Editor mode: do not initGame

This commit is contained in:
oc 2018-05-09 00:13:57 +08:00
parent 51c7fd2e49
commit 4c032e5ae2

View File

@ -265,7 +265,8 @@ core.prototype.init = function (coreData, callback) {
core.setRequestAnimationFrame();
core.showStartAnimate();
core.events.initGame();
if (main.mode=='play')
core.events.initGame();
if (core.isset(functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins))
core.plugin = new functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins.plugin();