Some small fixes

This commit is contained in:
Mergul 2020-05-28 09:39:17 +02:00
parent f964d7bf85
commit 3719cdaee0
2 changed files with 3 additions and 1 deletions

View file

@ -56,6 +56,7 @@ struct IDManager
*/
void releaseID(EntityID id) nothrow @nogc
{
optimize();
Data* data = &m_ids_array[id.id];
if (data.counter != id.counter)
return;