This commit is contained in:
ineed bots 2023-12-20 15:08:04 -06:00
parent 255ca651a0
commit 1d3adfd9c3

View File

@ -630,14 +630,14 @@ getValidTube()
*/
allowClassChoiceUtil()
{
allowed = int( tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 4 ) );
entry = tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 4 );
if ( !isDefined( allowed ) )
if ( !isDefined( entry ) || entry == "" )
{
return true;
}
return allowed;
return int( entry );
}
/*
@ -645,14 +645,14 @@ allowClassChoiceUtil()
*/
allowTeamChoiceUtil()
{
allowed = int( tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 5 ) );
entry = tableLookup( "mp/gametypesTable.csv", 0, level.gameType, 5 );
if ( !isDefined( allowed ) )
if ( !isDefined( entry ) || entry == "" )
{
return true;
}
return allowed;
return int( entry );
}
/*