mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (workflow) Make Workflow happy
This commit is contained in:
@@ -948,7 +948,6 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo)
|
|||||||
{
|
{
|
||||||
sAnticheatMgr->BGreport(player);
|
sAnticheatMgr->BGreport(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Battleground* bg = player->GetBattleground())
|
if (Battleground* bg = player->GetBattleground())
|
||||||
{
|
{
|
||||||
if (bg->GetStatus() == STATUS_WAIT_JOIN)
|
if (bg->GetStatus() == STATUS_WAIT_JOIN)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
#include "GameTime.h"
|
#include "GameTime.h"
|
||||||
|
|
||||||
Seconds resetTime = 0s;
|
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
|
class AnticheatPlayerScript : public PlayerScript
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user