aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2021-12-29 12:39:42 +0800
committerGitHub <noreply@github.com>2021-12-29 12:39:42 +0800
commitd7ec3fb86e09fe6ba1d2fc1b90cc8347f8303ed2 (patch)
tree9e28116b2bbc802619e882dc56916935662d3f22 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes
parente8f67265e817bdca167fbb9970327588501be580 (diff)
parentd579444d87117c9262142a3a6ef553a51d3a7735 (diff)
downloadNorthstarMods-d7ec3fb86e09fe6ba1d2fc1b90cc8347f8303ed2.tar.gz
NorthstarMods-d7ec3fb86e09fe6ba1d2fc1b90cc8347f8303ed2.zip
Merge pull request #1 from x3Karma/patch-1
Stop Pilots vs Pilots from scoring during the epilogue
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-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
+}