Fix Object.merge; add many color palettes, normalize color fns

This commit is contained in:
2023-09-23 17:35:02 +00:00
parent 721abd6a8f
commit 174a9ed586
12 changed files with 157 additions and 135 deletions

View File

@@ -347,7 +347,7 @@ var gameobject = {
obj.components[prop] = obj[prop];
}
};
Object.totalmerge(obj,ur);
obj.check_registers(obj);
@@ -497,7 +497,6 @@ prototypes.from_obj = function(name, obj)
{
var newobj = Object.copy(gameobject.ur, obj);
prototypes.ur[name] = newobj;
Log.say(Object.keys(newobj));
newobj.toString = function() { return name; };
return prototypes.ur[name];
}