Core/ObjectHandle: Fix movement

Former-commit-id: 8b8c9789447f20572400b05349c75e18960b3e3f
This commit is contained in:
Lynix
2016-05-09 18:10:58 +02:00
parent 8740cf393c
commit 8328aae028

View File

@@ -81,8 +81,9 @@ namespace Nz
if (T* object = handle.GetObject())
{
object->UpdateHandle(&handle, this);
m_object = handle.m_object;
handle.m_object = nullptr;
object->UpdateHandle(&handle, this);
}
}