mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-06-28 15:11:49 +00:00
fix errors
This commit is contained in:
@ -1226,6 +1226,9 @@ anyMatchRuleDefaultClass( team )
|
||||
*/
|
||||
chooseRandomClass( )
|
||||
{
|
||||
if ( self.team != "axis" && self.team != "allies" )
|
||||
return "";
|
||||
|
||||
reasonable = getDvarInt( "bots_loadout_reasonable" );
|
||||
class = "";
|
||||
rank = self maps\mp\gametypes\_rank::getRankForXp( self getPlayerData( "experience" ) ) + 1;
|
||||
|
Reference in New Issue
Block a user