Skip to content

Commit

Permalink
Core/Battlegrounds: Fixed invalid reference to temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Feb 7, 2025
1 parent 0f5d634 commit 2fd120d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Battlegrounds/Battleground.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2fd120d

Please sign in to comment.