Network/ENetPacket: Fix a huge bug with packets
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user