mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
fix
This commit is contained in:
parent
304145718c
commit
b56c185fb6
@ -643,9 +643,9 @@ getSpawnpoint_NearTeam( spawnpoints, favoredspawnpoints )
|
|||||||
}
|
}
|
||||||
//prof_end(" spawn_basicsumdists");
|
//prof_end(" spawn_basicsumdists");
|
||||||
|
|
||||||
favor_weight = getDVarInt("scr_spawnpointfavorweight");
|
|
||||||
if (favor_weight == 0)
|
|
||||||
favor_weight = 50000;
|
favor_weight = 50000;
|
||||||
|
if (getDVar("scr_spawnpointfavorweight") != "")
|
||||||
|
favor_weight = getDVarInt("scr_spawnpointfavorweight");
|
||||||
|
|
||||||
if ( isdefined( favoredspawnpoints ) )
|
if ( isdefined( favoredspawnpoints ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user