Core/Instances: fixed saving newly created instance saves
This commit is contained in:
1 parent
68e5567583
commit
be0538e405
1 file changed
+1
-1
@@ -2668,7 +2668,7 @@ bool InstanceMap::AddPlayerToMap(Player* player)
|
||||
if (!mapSave)
|
||||
{
|
||||
TC_LOG_DEBUG("maps", "InstanceMap::Add: creating instance save for map %d spawnmode %d with instance id %d", GetId(), GetDifficulty(), GetInstanceId());
|
||||
mapSave = sInstanceSaveMgr->AddInstanceSave(GetId(), GetInstanceId(), GetDifficulty(), 0, 0, true);
|
||||
mapSave = sInstanceSaveMgr->AddInstanceSave(GetId(), GetInstanceId(), GetDifficulty(), 0, true);
|
||||
}
|
||||
|
||||
ASSERT(mapSave);
|
||||
|
||||
Reference in new issue
Block a user