mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-07-10 13:01:50 +00:00
ignore democlient
This commit is contained in:
@ -522,6 +522,9 @@ addBots()
|
|||||||
{
|
{
|
||||||
player = level.players[i];
|
player = level.players[i];
|
||||||
|
|
||||||
|
if (player isdemoclient())
|
||||||
|
continue;
|
||||||
|
|
||||||
if(player is_bot())
|
if(player is_bot())
|
||||||
bots++;
|
bots++;
|
||||||
else if(!isDefined(player.pers["team"]) || (player.pers["team"] != "axis" && player.pers["team"] != "allies"))
|
else if(!isDefined(player.pers["team"]) || (player.pers["team"] != "axis" && player.pers["team"] != "allies"))
|
||||||
|
Reference in New Issue
Block a user