Skip to content

Commit

Permalink
Fix missing pointer getter
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Jan 22, 2024
1 parent 436f9c7 commit f1720ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playerbot/PlayerbotMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ void PlayerbotHolder::OnBotLogin(Player * const bot)
if (!ai)
{
bot->CreatePlayerbotAI();
ai = bot->GetPlayerbotAI();
}

OnBotLoginInternal(bot);
Expand Down

0 comments on commit f1720ed

Please sign in to comment.