Core/Groups: Use std::chrono type for Group::m_readyCheckTimer

Port From (https://github.com/TrinityCore/TrinityCore/commit/48b63c4c6721fa9a38f74f8fa92255ac0938da42)
This commit is contained in:
hondacrx
2021-04-06 23:42:49 -04:00
parent be2292e815
commit 1aa78d32eb
2 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ using Game.Entities;
using Game.Groups;
using Game.Networking;
using Game.Networking.Packets;
using System;
namespace Game
{
@@ -569,7 +570,7 @@ namespace Game
return;
// everything's fine, do it
group.StartReadyCheck(GetPlayer().GetGUID(), packet.PartyIndex);
group.StartReadyCheck(GetPlayer().GetGUID(), packet.PartyIndex, TimeSpan.FromMilliseconds(MapConst.ReadycheckDuration));
}
[WorldPacketHandler(ClientOpcodes.ReadyCheckResponse, Processing = PacketProcessing.Inplace)]