mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Fix install scene plugin #5765
This commit is contained in:
parent
8373e6f81a
commit
9d2374c4a5
1 changed files with 2 additions and 1 deletions
|
@ -369,7 +369,8 @@ var PluginManager = new Class({
|
|||
{
|
||||
// Plugin is freshly loaded
|
||||
PluginCache.register(key, plugin, mapping, true);
|
||||
|
||||
}
|
||||
if (this.scenePlugins.indexOf(key) === -1) {
|
||||
this.scenePlugins.push(key);
|
||||
}
|
||||
else if (!fromLoader && PluginCache.hasCore(key))
|
||||
|
|
Loading…
Add table
Reference in a new issue