fix(Scripts/Wintergrasp): fix disabled always false (#3437)

This commit is contained in:
Francesco Borzì 2020-09-09 11:46:41 +02:00 committed by GitHub
parent 38d12f9b51
commit ebfb4b4cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,7 @@ class npc_wg_queue : public CreatureScript
void UpdateAI(uint32 diff) override
{
if (CONFIG_WINTERGRASP_ENABLE == false)
if (!sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE))
return;
ScriptedAI::UpdateAI(diff);