Use suicide as death reason when an attacker leaves the server

pull/112/merge
David Cernat 8 years ago
parent 3c4b74cd14
commit ffb7683a5f

@ -274,7 +274,8 @@ void Networking::ProcessPlayerPacket(RakNet::Packet *packet)
if (!killer)
killer = player;
else if (secondsSinceLastAttacker < 3)
if (secondsSinceLastAttacker < 3)
reason = 1; // killed
else
reason = 2; //suicide

Loading…
Cancel
Save