Core/Maps: Fixed deadlock in battleground map creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f0266624dd711afd19c8002ac5474e8c834a366)
This commit is contained in:
@@ -151,7 +151,7 @@ namespace Game.Entities
|
|||||||
if (newInstanceId == 0)
|
if (newInstanceId == 0)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
map = FindMap(mapId, newInstanceId);
|
map = FindMap_i(mapId, newInstanceId);
|
||||||
if (!map)
|
if (!map)
|
||||||
{
|
{
|
||||||
Battleground bg = player.GetBattleground();
|
Battleground bg = player.GetBattleground();
|
||||||
|
|||||||
Reference in New Issue
Block a user