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:
dmitry 2022-04-03 14:43:29 +03:00
commit 06774a4282
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
4 changed files with 4 additions and 4 deletions

View file

@ -1108,7 +1108,7 @@ void Bot::checkMsgQueue () {
}
// prevent teams from buying on fun maps
if (game.mapIs (MapFlags::KnifeArena | MapFlags::Fun)) {
if (game.mapIs (MapFlags::KnifeArena)) {
m_buyState = BuyState::Done;
if (game.mapIs (MapFlags::KnifeArena)) {