diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-04-16 00:57:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 01:57:31 +0200 |
commit | f7b0e6ffeced13190eb58a65ac9b88af1b4127ba (patch) | |
tree | 1aa290552ed8ba60a85a5a4de5c86ed52f84048e /Northstar.Custom | |
parent | 16656ea022f943e1ab4848a83578f4f75afce676 (diff) | |
download | NorthstarMods-f7b0e6ffeced13190eb58a65ac9b88af1b4127ba.tar.gz NorthstarMods-f7b0e6ffeced13190eb58a65ac9b88af1b4127ba.zip |
Fix Fastball respawning spectating player (#616)
Diffstat (limited to 'Northstar.Custom')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut index 5ce11eb3..409d5ec0 100644 --- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut @@ -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 ) |