Skip to content

Commit

Permalink
Spawn Points
Browse files Browse the repository at this point in the history
Spawn points are not longer networked.
  • Loading branch information
caxanga334 committed Aug 6, 2022
1 parent c7ecd40 commit f6959fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/tf_bwr_redux.sp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// visible weapons?
//#define VISIBLE_WEAPONS

#define PLUGIN_VERSION "1.2.10"
#define PLUGIN_VERSION "1.2.11"

// giant sounds
#define ROBOT_SND_GIANT_SCOUT "mvm/giant_scout/giant_scout_loop.wav"
Expand Down Expand Up @@ -5432,7 +5432,7 @@ void TeleportToSpawnPoint(int client, TFClassType TFClass)
iSpawn = FindRandomSpawnPoint(Spawn_Normal);
}

if(iSpawn > MaxClients && IsValidEntity(iSpawn))
if(IsValidEntity(iSpawn))
{
GetEntPropVector(iSpawn, Prop_Send, "m_vecOrigin", vecOrigin);
GetEntPropVector(iSpawn, Prop_Data, "m_angRotation", vecAngles);
Expand Down

0 comments on commit f6959fb

Please sign in to comment.