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
(cherry picked from commit dc41559c7905072feec38b6d45ea14c05da3b855)
This commit is contained in:
parent
1221f7f92e
commit
18279e8421
@ -441,6 +441,12 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
|||||||
{
|
{
|
||||||
return MMBackend_Mock;
|
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
|
else
|
||||||
{
|
{
|
||||||
return MMBackend_SDK2013;
|
return MMBackend_SDK2013;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user