mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
fix Destroy
This commit is contained in:
parent
c565332db8
commit
9298ec7540
@ -117,6 +117,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
_interface.OnDestroy(ref _items[itemIndex], _worlds[worldID]);
|
_interface.OnDestroy(ref _items[itemIndex], _worlds[worldID]);
|
||||||
_recycledItems[_recycledItemsCount++] = itemIndex;
|
_recycledItems[_recycledItemsCount++] = itemIndex;
|
||||||
|
itemIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private sealed class Releaser : DataReleaser
|
private sealed class Releaser : DataReleaser
|
||||||
|
Loading…
Reference in New Issue
Block a user