mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-19 13:22:52 +00:00
no teams in sp
This commit is contained in:
parent
73141eddf4
commit
96e8fb36b6
@ -882,31 +882,6 @@ bot_wait_for_host()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = getdvarfloat( "bots_main_waitForHostTime" ); i > 0; i -= 0.05 )
|
|
||||||
{
|
|
||||||
if ( isdefined( host.pers[ "team" ] ) )
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
wait 0.05;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !isdefined( host.pers[ "team" ] ) )
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
for ( i = getdvarfloat( "bots_main_waitForHostTime" ); i > 0; i -= 0.05 )
|
|
||||||
{
|
|
||||||
if ( host.pers[ "team" ] == "allies" || host.pers[ "team" ] == "axis" )
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
wait 0.05;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user