diff options
author | x3Karma <juliuslimck@gmail.com> | 2021-12-29 12:37:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 12:37:06 +0800 |
commit | 425336bbb830a2699e3b9b4eb11d71690bb26aac (patch) | |
tree | 23c83d827274b113cbcccfd327818e65b08c359b /Northstar.CustomServers | |
parent | e8f67265e817bdca167fbb9970327588501be580 (diff) | |
download | NorthstarMods-425336bbb830a2699e3b9b4eb11d71690bb26aac.tar.gz NorthstarMods-425336bbb830a2699e3b9b4eb11d71690bb26aac.zip |
Stop Skirmish from scoring during the epilogue
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_tdm.nut | 4 |
1 files changed, 2 insertions, 2 deletions
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<entity> spawnpo { // temp RateSpawnpoints_Generic( checkclass, spawnpoints, team, player ) -}
\ No newline at end of file +} |