fix: radio order checking condition after merging master branch

This commit is contained in:
Владислав Сухов 2024-05-26 06:34:57 +00:00
commit 279b1e50d3

View file

@ -2345,7 +2345,7 @@ void Bot::checkRadioQueue () {
// don't allow bot listen you if bot is busy // don't allow bot listen you if bot is busy
if (getCurrentTaskId () == Task::DefuseBomb || getCurrentTaskId () == Task::PlantBomb || m_hasHostage || m_hasC4 || m_isCreature) { if (m_radioOrder != Radio::ReportInTeam && (getCurrentTaskId () == Task::DefuseBomb || getCurrentTaskId () == Task::PlantBomb || m_hasHostage || m_hasC4 || m_isCreature)) {
m_radioOrder = 0; m_radioOrder = 0;
return; return;
} }