This commit is contained in:
INeedBots 2020-10-21 15:19:28 -06:00
parent 304145718c
commit b56c185fb6

View File

@ -643,9 +643,9 @@ getSpawnpoint_NearTeam( spawnpoints, favoredspawnpoints )
}
//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 ) )
{