Core/Battlegrounds: Fixed invalid reference to temporary

This commit is contained in:
Shauren
2025-02-07 21:14:48 +01:00
parent 0f5d634e38
commit 2fd120da32

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;