Network/ENetPacket: Fix a huge bug with packets
This commit is contained in:
parent
6ab6ec4f14
commit
9d9d7472ca
|
|
@ -10,10 +10,7 @@ namespace Nz
|
|||
if (m_packet)
|
||||
{
|
||||
if (--m_packet->referenceCount == 0)
|
||||
{
|
||||
m_packet->owner->Delete(m_packet);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
m_packet = packet;
|
||||
|
|
|
|||
Loading…
Reference in New Issue