Core/AchievementMgr: fix integer underflow neglecting already completed realm firsts
Port From (https://github.com/TrinityCore/TrinityCore/commit/786bb561ca8b92033b962321d998fa2266f6e529)
This commit is contained in:
@@ -1058,6 +1058,9 @@ namespace Game.Achievements
|
||||
if (time == DateTime.MinValue)
|
||||
return false;
|
||||
|
||||
if (time == DateTime.MaxValue)
|
||||
return true;
|
||||
|
||||
// Allow completing the realm first kill for entire minute after first person did it
|
||||
// it may allow more than one group to achieve it (highly unlikely)
|
||||
// but apparently this is how blizz handles it as well
|
||||
|
||||
Reference in New Issue
Block a user