aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2021-12-29 12:35:57 +0800
committerGitHub <noreply@github.com>2021-12-29 12:35:57 +0800
commitd579444d87117c9262142a3a6ef553a51d3a7735 (patch)
tree9e28116b2bbc802619e882dc56916935662d3f22 /Northstar.CustomServers/mod
parente8f67265e817bdca167fbb9970327588501be580 (diff)
downloadNorthstarMods-d579444d87117c9262142a3a6ef553a51d3a7735.tar.gz
NorthstarMods-d579444d87117c9262142a3a6ef553a51d3a7735.zip
Stop Pilots vs Pilots from scoring during the epilogue
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ps.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ps.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ps.nut
index 4e62e8c5..7e3e5ea2 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ps.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ps.nut
@@ -10,6 +10,6 @@ void function GamemodePs_Init()
void function GiveScoreForPlayerKill( entity victim, entity attacker, var damageInfo )
{
- if ( victim != attacker && victim.IsPlayer() && attacker.IsPlayer() )
+ if ( victim != attacker && victim.IsPlayer() && attacker.IsPlayer() && GetGameState() != eGameState.Epilogue )
AddTeamScore( attacker.GetTeam(), 1 )
-} \ No newline at end of file
+}