diff --git a/src/plugins/PluginManager.js b/src/plugins/PluginManager.js index 0f0b6abce5..7a9719de09 100644 --- a/src/plugins/PluginManager.js +++ b/src/plugins/PluginManager.js @@ -13,6 +13,7 @@ var GameObjectFactory = require('../gameobjects/GameObjectFactory'); var GetFastValue = require('../utils/object/GetFastValue'); var PluginCache = require('./PluginCache'); var Remove = require('../utils/array/Remove'); +var CONST = require('../const'); /** * @classdesc @@ -113,7 +114,7 @@ var PluginManager = new Class({ */ this._pendingScene = []; - if (game.isBooted) + if (game.isBooted || game.config.renderType === CONST.HEADLESS) { this.boot(); }