Skip to content

Commit b118947

Browse files
committed
Disable KeyValues.Merge on swarm
1 parent 87d668a commit b118947

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/smn_keyvalues.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,8 @@ static cell_t smn_KvGetSectionSymbol(IPluginContext *pCtx, const cell_t *params)
11151115

11161116
static cell_t KeyValues_Merge(IPluginContext *pContext, const cell_t *params)
11171117
{
1118-
#if SOURCE_ENGINE < SE_ORANGEBOX
1118+
#if SOURCE_ENGINE < SE_ORANGEBOX || SOURCE_ENGINE == SE_ALIENSWARM
1119+
// <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)
11191120
return pContext->ThrowNativeError("KeyValues.Merge is not supported on this engine version");
11201121
#else
11211122
Handle_t hndl_this = static_cast<Handle_t>(params[1]);

0 commit comments

Comments
 (0)