fix(Core/GameObjects): move activation code of traps to GO_ACTIVATED (#10537)

- Original author: @Gacko
This commit is contained in:
UltraNix
2022-02-19 22:26:26 +01:00
committed by GitHub
parent c9586a106b
commit 982be6de00
3 changed files with 49 additions and 26 deletions

View File

@@ -651,7 +651,10 @@ void Creature::Update(uint32 diff)
m_groupLootTimer = 0;
lootingGroupLowGUID = 0;
}
else m_groupLootTimer -= diff;
else
{
m_groupLootTimer -= diff;
}
}
else if (m_corpseRemoveTime <= GameTime::GetGameTime().count())
{