From 425336bbb830a2699e3b9b4eb11d71690bb26aac Mon Sep 17 00:00:00 2001 From: x3Karma Date: Wed, 29 Dec 2021 12:37:06 +0800 Subject: Stop Skirmish from scoring during the epilogue --- .../mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Northstar.CustomServers') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut index 5dd8a403..fd5cbb14 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut @@ -9,7 +9,7 @@ void function GamemodeTdm_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 ) } @@ -17,4 +17,4 @@ void function RateSpawnpoints_Directional( int checkclass, array spawnpo { // temp RateSpawnpoints_Generic( checkclass, spawnpoints, team, player ) -} \ No newline at end of file +} -- cgit v1.2.3