aboutsummaryrefslogtreecommitdiff
path: root/src/game/DuelHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/DuelHandler.cpp')
-rw-r--r--src/game/DuelHandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/DuelHandler.cpp b/src/game/DuelHandler.cpp
index 8da8787ab8b..d9854d900c8 100644
--- a/src/game/DuelHandler.cpp
+++ b/src/game/DuelHandler.cpp
@@ -25,7 +25,6 @@
#include "Opcodes.h"
#include "UpdateData.h"
#include "Player.h"
-#include "TimeMgr.h"
void WorldSession::HandleDuelAcceptedOpcode(WorldPacket& recvPacket)
{
@@ -48,7 +47,7 @@ void WorldSession::HandleDuelAcceptedOpcode(WorldPacket& recvPacket)
DEBUG_LOG("Player 1 is: %u (%s)", pl->GetGUIDLow(),pl->GetName());
DEBUG_LOG("Player 2 is: %u (%s)", plTarget->GetGUIDLow(),plTarget->GetName());
- time_t now = sGameTime.GetGameTime();
+ time_t now = time(NULL);
pl->duel->startTimer = now;
plTarget->duel->startTimer = now;