mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
fix
This commit is contained in:
parent
255ca651a0
commit
1d3adfd9c3
@ -630,14 +630,14 @@ getValidTube()
|
|||||||
*/
|
*/
|
||||||
allowClassChoiceUtil()
|
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 true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return allowed;
|
return int( entry );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -645,14 +645,14 @@ allowClassChoiceUtil()
|
|||||||
*/
|
*/
|
||||||
allowTeamChoiceUtil()
|
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 true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return allowed;
|
return int( entry );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user