Network/ENetPacket: Fix a huge bug with packets

This commit is contained in:
Lynix
2017-01-28 14:09:43 +01:00
parent 6ab6ec4f14
commit 9d9d7472ca

View File

@@ -10,10 +10,7 @@ namespace Nz
if (m_packet) if (m_packet)
{ {
if (--m_packet->referenceCount == 0) if (--m_packet->referenceCount == 0)
{
m_packet->owner->Delete(m_packet); m_packet->owner->Delete(m_packet);
return;
}
} }
m_packet = packet; m_packet = packet;