Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
This commit is contained in:
@@ -522,7 +522,7 @@ namespace Game.DungeonFinding
|
||||
}
|
||||
|
||||
// Create a new proposal
|
||||
proposal.cancelTime = Time.UnixTime + SharedConst.LFGTimeProposal;
|
||||
proposal.cancelTime = GameTime.GetGameTime() + SharedConst.LFGTimeProposal;
|
||||
proposal.state = LfgProposalState.Initiating;
|
||||
proposal.leader = ObjectGuid.Empty;
|
||||
proposal.dungeonId = proposalDungeons.SelectRandom();
|
||||
@@ -746,7 +746,7 @@ namespace Game.DungeonFinding
|
||||
{
|
||||
public LfgQueueData()
|
||||
{
|
||||
joinTime = Time.UnixTime;
|
||||
joinTime = GameTime.GetGameTime();
|
||||
tanks = SharedConst.LFGTanksNeeded;
|
||||
healers = SharedConst.LFGHealersNeeded;
|
||||
dps = SharedConst.LFGDPSNeeded;
|
||||
|
||||
Reference in New Issue
Block a user