mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 01:36:44 +00:00
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