mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2026-10-14 05:21:27 +00:00
democlient checks
This commit is contained in:
1 parent
28bfe5bbda
commit
223c6e4664
1 file changed
+2
-2
@@ -216,7 +216,7 @@ bot_get_prestige()
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( player is_bot() )
|
||||
if ( player is_bot() || player isdemoclient() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -1246,7 +1246,7 @@ bot_get_cod_points()
|
||||
|
||||
for ( i = 0; i < players.size; i++ )
|
||||
{
|
||||
if ( players[ i ] is_bot() )
|
||||
if ( players[ i ] is_bot() || players[ i ] isdemoclient() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user