Skip to content

Commit

Permalink
0.8.7 Offline Release: Show that runs don't get submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
lvaness authored and Gocnak committed Dec 10, 2020
1 parent 9788947 commit 75a2f69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mp/src/game/client/momentum/ui/HUD/hud_mapfinished.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ void CHudMapFinishedDialog::SetRunSaved(bool bState)

void CHudMapFinishedDialog::SetRunUploaded(bool bState)
{
m_pRunUploadStatus->SetText(bState ? "#MOM_MF_RunUploaded" : "#MOM_MF_RunNotUploaded");
m_pRunUploadStatus->SetFgColor(bState ? COLOR_GREEN : COLOR_RED);
m_pRunUploadStatus->SetText("Online run submissions are not available in this build!");
m_pRunUploadStatus->SetFgColor(COLOR_RED);

// Visibility for these will be determined by the run_upload event
m_pXPGainCosmetic->SetVisible(false);
Expand All @@ -243,8 +243,8 @@ void CHudMapFinishedDialog::SetRunSubmitted(RunSubmitState_t state)
if (state <= RUN_SUBMIT_UNKNOWN || state >= RUN_SUBMIT_COUNT)
return;

m_pRunUploadStatus->SetText(g_szSubmitStates[state]);
m_pRunUploadStatus->SetFgColor(state == RUN_SUBMIT_SUCCESS ? COLOR_ORANGE : COLOR_RED);
m_pRunUploadStatus->SetText("Online run submissions are not available in this build!");
m_pRunUploadStatus->SetFgColor(COLOR_RED);

// Visibility for these will be determined by the run_upload event
m_pXPGainCosmetic->SetVisible(false);
Expand Down

0 comments on commit 75a2f69

Please sign in to comment.