forked from mirror/openmw-tes3mp
Use suicide as death reason when an attacker leaves the server
This commit is contained in:
parent
3c4b74cd14
commit
ffb7683a5f
1 changed files with 2 additions and 1 deletions
|
@ -274,7 +274,8 @@ void Networking::ProcessPlayerPacket(RakNet::Packet *packet)
|
||||||
|
|
||||||
if (!killer)
|
if (!killer)
|
||||||
killer = player;
|
killer = player;
|
||||||
else if (secondsSinceLastAttacker < 3)
|
|
||||||
|
if (secondsSinceLastAttacker < 3)
|
||||||
reason = 1; // killed
|
reason = 1; // killed
|
||||||
else
|
else
|
||||||
reason = 2; //suicide
|
reason = 2; //suicide
|
||||||
|
|
Loading…
Reference in a new issue