fix: do not prevent buying on fy_* maps, (fix #325)
If you need to prevent bots buying on specific map use map-cfg with yb_botbuy 0.
This commit is contained in:
parent
bb839a9c80
commit
06774a4282
4 changed files with 4 additions and 4 deletions
|
|
@ -1785,7 +1785,7 @@ void BotManager::selectLeaders (int team, bool reset) {
|
|||
m_leaderChoosen[Team::CT] = true;
|
||||
}
|
||||
}
|
||||
else if (game.mapIs (MapFlags::Escape | MapFlags::KnifeArena | MapFlags::Fun)) {
|
||||
else if (game.mapIs (MapFlags::Escape | MapFlags::KnifeArena | MapFlags::FightYard)) {
|
||||
auto bot = bots.findHighestFragBot (team);
|
||||
|
||||
if (!m_leaderChoosen[team] && bot) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue