diff options
author | x3Karma <juliuslimck@gmail.com> | 2021-12-29 12:37:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 12:37:07 +0800 |
commit | e4e46b7c061599a040164776b9b7cd96c1f40fb6 (patch) | |
tree | 23c83d827274b113cbcccfd327818e65b08c359b /Northstar.CustomServers | |
parent | e8f67265e817bdca167fbb9970327588501be580 (diff) | |
download | NorthstarMods-e4e46b7c061599a040164776b9b7cd96c1f40fb6.tar.gz NorthstarMods-e4e46b7c061599a040164776b9b7cd96c1f40fb6.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 +} |