fix: flush radio queue if became creature
This commit is contained in:
parent
54e7eb4c1f
commit
06c2243d58
1 changed files with 1 additions and 1 deletions
|
|
@ -966,7 +966,7 @@ void Bot::checkMsgQueue () {
|
|||
const auto state = m_msgQueue.popFront ();
|
||||
|
||||
// nothing to do?
|
||||
if (state == BotMsg::None || (state == BotMsg::Radio && game.is (GameFlags::FreeForAll))) {
|
||||
if (state == BotMsg::None || (state == BotMsg::Radio && (m_isCreature || game.is (GameFlags::FreeForAll)))) {
|
||||
return;
|
||||
}
|
||||
float delayResponseTime = 0.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue