mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Fix CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED by doing a check in OPvPWintergrasp::Update as well as SetupOutDoorPvP
--HG-- branch : trunk
This commit is contained in:
@@ -851,6 +851,9 @@ void OPvPWintergrasp::UpdateClock()
|
||||
|
||||
bool OPvPWintergrasp::Update(uint32 diff)
|
||||
{
|
||||
if(!sWorld.getConfig(CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED))
|
||||
return false;
|
||||
|
||||
if (m_timer > diff)
|
||||
{
|
||||
m_timer -= diff;
|
||||
|
||||
Reference in New Issue
Block a user