update (workflow) Make Workflow happy

This commit is contained in:
M'Dic
2022-09-20 18:46:44 -04:00
parent 7366903886
commit 557d982b24
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -32,7 +32,7 @@
#include "GameTime.h"
Seconds resetTime = 0s;
Seconds lastIterationPlayer = GameTime::GetUptime() + Seconds(sConfigMgr->GetOption<uint32>("Anticheat.SaveReportsTime", 60));
Seconds lastIterationPlayer = GameTime::GetUptime() + 30s; //TODO: change 30 secs static to a configurable option
class AnticheatPlayerScript : public PlayerScript
{