File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9932,7 +9932,10 @@ void CAlienSwarm::EnableChallenge( const char *szChallengeName )
99329932 KeyValues::AutoDelete pKV ( " CHALLENGE" );
99339933 bool bEnabled = ReactiveDropChallenges::ReadData ( pKV, szChallengeName );
99349934
9935+ rd_challenge.SetValue (" " );
99359936 ResetChallengeConVars ();
9937+ rd_challenge.SetValue (szChallengeName);
9938+
99369939 if ( ASWDeathmatchMode () )
99379940 {
99389941 ASWDeathmatchMode ()->ApplyDeathmatchConVars ();
@@ -9972,7 +9975,6 @@ void CAlienSwarm::EnableChallenge( const char *szChallengeName )
99729975 // if rd_max_marines changed we need to update marines limits using SetMaxMarines
99739976 SetMaxMarines ();
99749977 EnforceMaxMarines ();
9975- rd_challenge.SetValue ( szChallengeName );
99769978 OnSkillLevelChanged ( m_iSkillLevel );
99779979
99789980 if ( V_strcmp ( rd_challenge.GetString (), " 0" ) )
You can’t perform that action at this time.
0 commit comments