Core/Battlegrounds: Fixed invalid reference to temporary

(cherry picked from commit 2fd120da32)
This commit is contained in:
Shauren
2025-02-07 21:14:48 +01:00
committed by Ovahlord
parent c3be7513b3
commit 0cb94ea082

View File

@@ -442,7 +442,7 @@ class TC_GAME_API Battleground
BattlegroundPlayer const* GetBattlegroundPlayerData(ObjectGuid const& playerGuid) const
{
auto const& itr = m_Players.find(playerGuid);
auto itr = m_Players.find(playerGuid);
if (itr == m_Players.end())
return nullptr;