BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / 74ee43c3216e1f3c3b33a2b6afe70b52b62e5465 / object / manager.c

// Related

Nucleus

Barry Ordered object lists 74ee43c (3 years, 2 months ago)
diff --git a/object/manager.c b/object/manager.c
index 85f5360..a274408 100644
--- a/object/manager.c
+++ b/object/manager.c
@@ -58,7 +58,7 @@ new(ObjectType *type)
 	if (type->new)
 		type->new(obj);
 	if (!type->objects)
-		type->objects = create_list(type);
+		type->objects = create_list(type, LIST_NORMAL);
 	add(type->objects, obj);
 	/* No need to get() since it's in the global list */
 	return obj;