mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
[Client] Add forgotten comparison in crimeTime and deathTime check
This commit is contained in:
parent
4eb72eecb1
commit
e3e1cfc549
1 changed files with 1 additions and 1 deletions
|
@ -1202,7 +1202,7 @@ namespace MWMechanics
|
|||
*/
|
||||
else if (mwmp::Main::get().getLocalPlayer()->diedSinceArrestAttempt && creatureStats.getAiSequence().isInCombat(player))
|
||||
{
|
||||
if (difftime(mwmp::Main::get().getLocalPlayer()->deathTime, npcStats.getCrimeTime()))
|
||||
if (difftime(mwmp::Main::get().getLocalPlayer()->deathTime, npcStats.getCrimeTime()) > 0)
|
||||
{
|
||||
creatureStats.getAiSequence().stopCombat();
|
||||
creatureStats.setAttacked(false);
|
||||
|
|
Loading…
Reference in a new issue