mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 03:42:23 -07:00
Fix type cycle bug
This commit is contained in:
@@ -503,6 +503,7 @@ Entity *add_global_entity(Entity *entity) {
|
||||
if (scope_insert_entity(universal_scope, entity)) {
|
||||
compiler_error("double declaration");
|
||||
}
|
||||
entity->state = EntityState_Resolved;
|
||||
return entity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user