Fixing components update order.

This commit is contained in:
Ulysse Cura 2026-08-04 01:02:09 +02:00
parent 9619843cbe
commit dd1aeae9f5
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ component_t *entity_new_component(entity_t *entity, component_type_t component_t
if(component->component_init(component)) return NULL;
if(linked_list_push_front(&entity->components, component_elem)) return NULL;
if(linked_list_push_back(&entity->components, component_elem)) return NULL;
return component;
}