BlueGit

timfa frameworkv3

reorder on creation

timfa Tim Falken · pushed by timfa

Authored 2020-06-23 · 6 years ago

Hash
7126c157c747729e1f6c58ffb294fffd52fa5b87
Parent
20e6b04f
1 file changed +2 −0
framework/object.js +2 −0
@@ -20,6 +20,8 @@ var GameObject =
20 20 GameObject.allObjects = [];
21 21
22 22 GameObject.allObjects.push(newObj);
23
24 Game.reorderObjects();
23 25
24 26 return newObj;
25 27 },
@@ -20,6 +20,8 @@ var GameObject =
20 GameObject.allObjects = [];
20 GameObject.allObjects = [];
21
21
22 GameObject.allObjects.push(newObj);
22 GameObject.allObjects.push(newObj);
23
24 Game.reorderObjects();
23
25
24 return newObj;
26 return newObj;
25 },
27 },