Skip to content

Commit

Permalink
Avoid duplication of challenge award (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanieon authored Sep 2, 2024
1 parent d51cecc commit b664005
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit b664005

Please sign in to comment.