Skip to content

Commit

Permalink
Fix Fastball respawning spectating player (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames authored and GeckoEidechse committed Apr 18, 2023
1 parent a778e8d commit 4034da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function FastballOnPanelHacked( panel, player )
// respawn dead players
foreach ( entity deadPlayer in GetPlayerArrayOfTeam( player.GetTeam() ) )
{
if ( !IsAlive( deadPlayer ) && !IsPrivateMatchSpectator( player ) )
if ( !IsAlive( deadPlayer ) && !IsPrivateMatchSpectator( deadPlayer ) )
{
deadPlayer.SetOrigin( panel.s.startOrigin )
deadPlayer.RespawnPlayer( null )
Expand Down

0 comments on commit 4034da5

Please sign in to comment.