mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 10:15:44 +00:00
fixed script link error
This commit is contained in:
parent
5fe8aee7e2
commit
ca9dad8b79
@ -248,12 +248,12 @@ classWatch()
|
||||
|
||||
wait 0.5;
|
||||
|
||||
if ( !isValidClass( self.class ) || !isDefined( self.bot_change_class ) )
|
||||
if ( !maps\mp\gametypes\_globallogic::isValidClass( self.class ) || !isDefined( self.bot_change_class ) )
|
||||
self notify( "menuresponse", game["menu_changeclass"], self chooseRandomClass() );
|
||||
|
||||
self.bot_change_class = true;
|
||||
|
||||
while ( isdefined( self.pers["team"] ) && isValidClass( self.class ) && isDefined( self.bot_change_class ) )
|
||||
while ( isdefined( self.pers["team"] ) && maps\mp\gametypes\_globallogic::isValidClass( self.class ) && isDefined( self.bot_change_class ) )
|
||||
wait .05;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user