Skip to content

Commit

Permalink
Enter Combat: Reset internal delay if sitting (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ileboii authored Jan 12, 2025
1 parent a4338bd commit a076c03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,10 @@ void PlayerbotAI::OnCombatStarted()
aiObjectContext->GetValue<bool>("has attackers")->Reset();

ChangeEngine(BotState::BOT_STATE_COMBAT);
if (bot->IsSitState());
{
ResetAIInternalUpdateDelay();
}
}
}

Expand Down

0 comments on commit a076c03

Please sign in to comment.