Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
This commit is contained in:
@@ -433,7 +433,7 @@ namespace Game
|
||||
LfgAnswer playerVote = boot.votes.LookupByKey(GetPlayer().GetGUID());
|
||||
byte votesNum = 0;
|
||||
byte agreeNum = 0;
|
||||
uint secsleft = (uint)((boot.cancelTime - Time.UnixTime) / 1000);
|
||||
uint secsleft = (uint)((boot.cancelTime - GameTime.GetGameTime()) / 1000);
|
||||
foreach (var it in boot.votes)
|
||||
{
|
||||
if (it.Value != LfgAnswer.Pending)
|
||||
|
||||
Reference in New Issue
Block a user