diff options
author | William Miller <william-millennium@hotmail.com> | 2024-09-02 19:40:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 00:40:47 +0200 |
commit | b664005c5dc0142531176258db53a3bf47392faf (patch) | |
tree | fcbcae955001ac2b2d4ea0fce243adc5d4c53ac4 | |
parent | d51ceccf3baf9313f22dfee14a693e096c3d2f77 (diff) | |
download | NorthstarMods-b664005c5dc0142531176258db53a3bf47392faf.tar.gz NorthstarMods-b664005c5dc0142531176258db53a3bf47392faf.zip |
Avoid duplication of challenge award (#858)
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut | 3 |
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 ) |