Skip to content

Commit 7670ec5

Browse files
committed
Derive game instance from Scene
1 parent 562eb4a commit 7670ec5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

v3/src/input/local/SceneInputManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ var SceneInputManager = new Class({
99

1010
initialize:
1111

12-
function SceneInputManager (scene, game)
12+
function SceneInputManager (scene)
1313
{
1414
// The Scene that owns this plugin
1515
this.scene = scene;
1616

1717
// GlobalInputManager
18-
this.manager = game.input;
18+
this.manager = scene.sys.game.input;
1919

2020
// A reference to this.scene.sys.displayList (set in boot)
2121
this.displayList;

0 commit comments

Comments
 (0)