Update EcsAspect.cs

This commit is contained in:
DCFApixels 2024-11-12 16:36:37 +08:00
parent 90c2b5fbd0
commit 4998e84fe5

View File

@ -300,7 +300,7 @@ namespace DCFApixels.DragonECS
{ {
if (pool.Has(entityID) == false) if (pool.Has(entityID) == false)
{ {
pool.AddRaw(entityID, null); pool.AddEmpty(entityID);
} }
} }
#if DEBUG #if DEBUG