Added Exposed var reset button

This commit is contained in:
Antoine Pilote
2024-08-15 19:44:17 -04:00
parent 901ebcf902
commit 04926476d7
5 changed files with 52 additions and 22 deletions

View File

@@ -571,7 +571,11 @@ namespace Nuake
auto entity = Entity{ e, this };
auto parentEntity = GetEntityByID(parentComponent.ParentID);
parentEntity.AddChild(entity);
if (entity.IsValid())
{
parentEntity.AddChild(entity);
}
}
// This will turn the deserialized entity ids into actual Entities.