Sdk/World: Fix destruction retrieval while world clear
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Ndk
|
||||
|
||||
Entity::~Entity()
|
||||
{
|
||||
if (m_world)
|
||||
if (m_world && m_valid)
|
||||
Destroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user