mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Use suicide as death reason when an attacker leaves the server
This commit is contained in:
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…
x
Reference in New Issue
Block a user