diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-04-16 00:57:31 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-04-19 01:07:32 +0200 |
commit | 4034da56d9be08fabdd6badd3467dc59bf6c915b (patch) | |
tree | 62498b62174175c3dfdf9ff1612b4a7abdfa9b2f /Northstar.Custom/mod | |
parent | a778e8d507d600f4385ff53c34498b7842a2f4a4 (diff) | |
download | NorthstarMods-4034da56d9be08fabdd6badd3467dc59bf6c915b.tar.gz NorthstarMods-4034da56d9be08fabdd6badd3467dc59bf6c915b.zip |
Fix Fastball respawning spectating player (#616)v1.12.7-rc2v1.12.7-rc1
Diffstat (limited to 'Northstar.Custom/mod')
-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 ) |