Editor mode: do not initGame
This commit is contained in:
parent
51c7fd2e49
commit
4c032e5ae2
@ -265,7 +265,8 @@ core.prototype.init = function (coreData, callback) {
|
|||||||
core.setRequestAnimationFrame();
|
core.setRequestAnimationFrame();
|
||||||
core.showStartAnimate();
|
core.showStartAnimate();
|
||||||
|
|
||||||
core.events.initGame();
|
if (main.mode=='play')
|
||||||
|
core.events.initGame();
|
||||||
|
|
||||||
if (core.isset(functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins))
|
if (core.isset(functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins))
|
||||||
core.plugin = new functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins.plugin();
|
core.plugin = new functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins.plugin();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user