diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 57d821d..d67fb88 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -948,7 +948,6 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo) { sAnticheatMgr->BGreport(player); } - if (Battleground* bg = player->GetBattleground()) { if (bg->GetStatus() == STATUS_WAIT_JOIN) diff --git a/src/AnticheatScripts.cpp b/src/AnticheatScripts.cpp index c969369..d255414 100644 --- a/src/AnticheatScripts.cpp +++ b/src/AnticheatScripts.cpp @@ -32,7 +32,7 @@ #include "GameTime.h" Seconds resetTime = 0s; -Seconds lastIterationPlayer = GameTime::GetUptime() + Seconds(sConfigMgr->GetOption("Anticheat.SaveReportsTime", 60)); +Seconds lastIterationPlayer = GameTime::GetUptime() + 30s; //TODO: change 30 secs static to a configurable option class AnticheatPlayerScript : public PlayerScript {