Skip to content

Commit

Permalink
loader: Detect HL1MP and SDK2013(2025) mods as HL2:DM for now
Browse files Browse the repository at this point in the history
(cherry picked from commit dc41559)
  • Loading branch information
psychonic committed Feb 23, 2025
1 parent 1221f7f commit 18279e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions loader/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,12 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
{
return MMBackend_Mock;
}
else if (serverFactory("ServerGameClients005", NULL) != nullptr)
{
// 2025 version of SDK 2013, or maybe hl1mp, or anything else shaped like those.
// We may later make a separate SDK for this branch. For now, they match, we'll hack it
return MMBackend_HL2DM;
}
else
{
return MMBackend_SDK2013;
Expand Down

0 comments on commit 18279e8

Please sign in to comment.