From eb5f7a6dc0afcb166caf964e4f8e40c3a074fadf Mon Sep 17 00:00:00 2001 From: PortalRex <35444194+PortalRex@users.noreply.github.com> Date: Tue, 14 Jul 2026 16:20:14 -0500 Subject: [PATCH] Support new Mel autosubmit domain --- src/Features/AutoSubmit.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Features/AutoSubmit.cpp b/src/Features/AutoSubmit.cpp index 4ff74bfe5..9181d3f82 100644 --- a/src/Features/AutoSubmit.cpp +++ b/src/Features/AutoSubmit.cpp @@ -438,9 +438,13 @@ void AutoSubmit::LoadApiKey(bool output_nonexist) { while (!f.eof()) { std::getline(f, base) && std::getline(f, key); if (sar.game->Is(SourceGame_Portal2) && base == "board.portal2.sr") break; - if (sar.game->Is(SourceGame_PortalStoriesMel) && base == "melboard.portal2.sr") break; + if (sar.game->Is(SourceGame_PortalStoriesMel) && base == "mel.portal2.sr") break; + if (sar.game->Is(SourceGame_PortalStoriesMel) && base == "melboard.portal2.sr") { + base = "mel.portal2.sr"; + break; + } if (sar.game->Is(SourceGame_PortalStoriesMel) && base == "mel.board.portal2.sr") { - base = "melboard.portal2.sr"; + base = "mel.portal2.sr"; break; } /* if we got here, no valid key */