We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f81856a commit 68cc768Copy full SHA for 68cc768
1 file changed
v3/src/input/local/SceneInputManager.js
@@ -109,11 +109,17 @@ var SceneInputManager = new Class({
109
// Scene that owns this is shutting down
110
shutdown: function ()
111
{
112
- this._list = [];
113
- this._over = [];
114
- this._draggable = [];
115
- this._pendingRemoval = [];
116
- this._pendingInsertion = [];
+ this.children.size = 0;
+ this.children.list = [];
+ this.children.pendingRemoval = [];
+ this.children.pendingInsertion = [];
+
117
+ for (var i = 0; i < 10; i++)
118
+ {
119
+ this.children.draggable[i] = [];
120
+ this.children.over[i] = [];
121
+ this.children.down[i] = [];
122
+ }
123
},
124
125
// Game level nuke
0 commit comments