fix(Core): fix chests not despawning when opened in group (#5371)
This commit is contained in:
parent
a278fd7340
commit
cd6ee1c644
3 changed files with 12 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ GameObject::GameObject() : WorldObject(false), MovableMapObject(),
|
|||
m_lootGenerationTime = 0;
|
||||
|
||||
ResetLootMode(); // restore default loot mode
|
||||
loot.sourceGameObject = this;
|
||||
m_stationaryPosition.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue