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 | |
parent | a778e8d507d600f4385ff53c34498b7842a2f4a4 (diff) | |
download | NorthstarMods-1.12.7-rc1.tar.gz NorthstarMods-1.12.7-rc1.zip |
Fix Fastball respawning spectating player (#616)v1.12.7-rc2v1.12.7-rc1
-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 ) |