Core/ObjectHandle: Fix movement
Former-commit-id: 8fd32af2b58e8f0d2146232c23a8405e3e012349
This commit is contained in:
parent
34bc2301a0
commit
e8a4be2039
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue