Disable KeyValues.Merge on swarm
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user