diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index 9276678..b1ccea4 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -630,7 +630,14 @@ getValidTube() */ allowClassChoiceUtil() { - return true; + allowed = int( tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 4 ) ); + + if ( !isDefined( allowed ) ) + { + return true; + } + + return allowed; } /* @@ -638,7 +645,14 @@ allowClassChoiceUtil() */ allowTeamChoiceUtil() { - return true; + allowed = int( tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 5 ) ); + + if ( !isDefined( allowed ) ) + { + return true; + } + + return allowed; } /*