Disable KeyValues.Merge on swarm

This commit is contained in:
Nicholas Hastings
2026-04-28 07:26:27 -04:00
parent 87d668afce
commit b1189479ed
+2 -1
View File
@@ -1115,7 +1115,8 @@ static cell_t smn_KvGetSectionSymbol(IPluginContext *pCtx, const cell_t *params)
static cell_t KeyValues_Merge(IPluginContext *pContext, const cell_t *params)
{
#if SOURCE_ENGINE < SE_ORANGEBOX
#if SOURCE_ENGINE < SE_ORANGEBOX || SOURCE_ENGINE == SE_ALIENSWARM
// <OB doesn't have this function, and on ASW, we're still using the stock tier1 lib (with there being no source in the sdk)
return pContext->ThrowNativeError("KeyValues.Merge is not supported on this engine version");
#else
Handle_t hndl_this = static_cast<Handle_t>(params[1]);