Skip to content

Commit 6bf937b

Browse files
authored
Merge pull request #554 from JoKeRZH429/chore/strip-www-from-strata-link
chore: strip out www from strata's url on scorescreen
2 parents 7880b0a + aec684c commit 6bf937b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ScoreScreen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ WindowMsgHandledType ScoreScreenSystem( GameWindow *window, UnsignedInt msg,
664664
#if defined(USE_TEST_ENV)
665665
strMatchURL.format("https://www.playgenerals.online/viewmatch?match=%" PRIu64 "&env=test", currentMatchID);
666666
#else
667-
strMatchURL.format("https://www.strata.gamereplays.org/zh/match/%" PRIu64, currentMatchID);
667+
strMatchURL.format("https://strata.gamereplays.org/zh/match/%" PRIu64, currentMatchID);
668668
#endif
669669
ShellExecuteA(NULL, "open", strMatchURL.str(), NULL, NULL, SW_SHOWNORMAL);
670670
}
@@ -1212,7 +1212,7 @@ void initInternetMultiPlayer(void)
12121212
#if defined(USE_TEST_ENV)
12131213
strMatchURL.format(L"\nView match data, participants, replays, anti-cheat data: https://www.playgenerals.online/viewmatch?match=%" PRIu64 "&env=test", lobby.match_id);
12141214
#else
1215-
strMatchURL.format(L"\nView match data, participants, replays, anti-cheat data: https://www.strata.gamereplays.org/zh/match/%" PRIu64, lobby.match_id);
1215+
strMatchURL.format(L"\nView match data, participants, replays, anti-cheat data: https://strata.gamereplays.org/zh/match/%" PRIu64, lobby.match_id);
12161216
#endif
12171217

12181218
buttonContinue->winSetText(UnicodeString(L"VIEW MATCH ONLINE"));

0 commit comments

Comments
 (0)