fix: radio order checking condition after merging master branch
This commit is contained in:
parent
de38555aa1
commit
279b1e50d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue