Re fixing components update order :').

This commit is contained in:
Ulysse Cura 2026-08-04 19:47:59 +02:00
parent e6d363c0b2
commit 344664f537
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_back(&entity->components, component_elem)) return NULL;
if(linked_list_push_front(&entity->components, component_elem)) return NULL;
return component;
}