aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-04-16 00:57:31 +0100
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-04-19 01:07:32 +0200
commit4034da56d9be08fabdd6badd3467dc59bf6c915b (patch)
tree62498b62174175c3dfdf9ff1612b4a7abdfa9b2f /Northstar.Custom
parenta778e8d507d600f4385ff53c34498b7842a2f4a4 (diff)
downloadNorthstarMods-4034da56d9be08fabdd6badd3467dc59bf6c915b.tar.gz
NorthstarMods-4034da56d9be08fabdd6badd3467dc59bf6c915b.zip
Fix Fastball respawning spectating player (#616)v1.12.7-rc2v1.12.7-rc1
Diffstat (limited to 'Northstar.Custom')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fastball.gnut2
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 )