Skip to content

Commit

Permalink
Fix Fastball respawning spectating player (R2Northstar#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames authored and wolf109909 committed May 1, 2023
1 parent 7646eef commit 86a09e5
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 86a09e5

Please sign in to comment.