fix(Core/Misc): fix some exploits (#2630)

This commit is contained in:
Viste
2020-02-18 10:26:12 +03:00
committed by GitHub
parent 3b5b7a506f
commit 38e8503d21
3 changed files with 46 additions and 10 deletions

View File

@@ -1012,7 +1012,7 @@ void WorldObject::setActive(bool on)
m_isActive = on;
if (!IsInWorld())
if (on && !IsInWorld())
return;
Map* map = FindMap();