1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

loader: Detect HL1MP and SDK2013(2025) mods as HL2:DM for now

This commit is contained in:
Nicholas Hastings 2025-02-19 23:19:29 -05:00
parent d6ed4443e8
commit dc41559c79

View File

@ -389,6 +389,12 @@ mm_DetermineBackendS1(QueryValveInterface engineFactory, QueryValveInterface ser
{
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;