objects now correctly register components and subobjects
This commit is contained in:
@@ -577,7 +577,7 @@ load("scripts/entity.js");
|
||||
|
||||
var preprimum = {};
|
||||
preprimum.add_child = function() {};
|
||||
var World = gameobject.make(preprimum);
|
||||
var World = gameobject.make(gameobject.ur, preprimum);
|
||||
var Primum = World;
|
||||
Primum.selectable = false;
|
||||
World.reparent = function(parent) { Log.warn("Cannot reparent the Primum."); }
|
||||
|
||||
Reference in New Issue
Block a user