Sdk/World: Fix movement
This commit is contained in:
parent
092720b1d0
commit
a85ded1262
|
|
@ -314,7 +314,8 @@ namespace Ndk
|
||||||
|
|
||||||
m_systems = std::move(world.m_systems);
|
m_systems = std::move(world.m_systems);
|
||||||
for (const auto& systemPtr : m_systems)
|
for (const auto& systemPtr : m_systems)
|
||||||
systemPtr->SetWorld(this);
|
if (systemPtr)
|
||||||
|
systemPtr->SetWorld(this);
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue