Skip to content

Commit 92b89fb

Browse files
committed
Added plugins property to Phaser.Game.
Property was previously being declared late without initialization at allocation time.
1 parent 6f6395f commit 92b89fb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/core/Game.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
202202
* @property {Phaser.Physics} physics - Reference to the physics manager.
203203
*/
204204
this.physics = null;
205+
206+
/**
207+
* @property {Phaser.PluginManager} plugins - Reference to the plugin manager.
208+
*/
209+
this.plugins = null;
205210

206211
/**
207212
* @property {Phaser.RandomDataGenerator} rnd - Instance of repeatable random data generator helper.

0 commit comments

Comments
 (0)