aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2024-09-02 19:40:47 -0300
committerGitHub <noreply@github.com>2024-09-03 00:40:47 +0200
commitb664005c5dc0142531176258db53a3bf47392faf (patch)
treefcbcae955001ac2b2d4ea0fce243adc5d4c53ac4 /Northstar.CustomServers/mod/scripts/vscripts
parentd51ceccf3baf9313f22dfee14a693e096c3d2f77 (diff)
downloadNorthstarMods-b664005c5dc0142531176258db53a3bf47392faf.tar.gz
NorthstarMods-b664005c5dc0142531176258db53a3bf47392faf.zip
Avoid duplication of challenge award (#858)
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut3
1 files changed, 0 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index 1f06ff4a..90b20a8a 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
@@ -334,10 +334,7 @@ void function CaptureFlag( entity player, entity flag )
EmitSoundOnEntityOnlyToPlayer( player, player, "UI_CTF_1P_PlayerScore" )
if( !HasPlayerCompletedMeritScore( player ) )
- {
- AddPlayerScore( player, "ChallengeCTFRetAssist" )
SetPlayerChallengeMeritScore( player )
- }
MessageToTeam( team, eEventNotifications.PlayerCapturedEnemyFlag, player, player )
EmitSoundOnEntityToTeamExceptPlayer( flag, "UI_CTF_3P_TeamScore", player.GetTeam(), player )