Skip to content

Commit

Permalink
Fix binding detour when reloading plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo committed Jun 20, 2023
1 parent 88d628d commit 5eb3d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/vscript/binding.sp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void Binding_CheckFunctions(ArrayList aList)
for (int i = 0; i < iLength; i++)
{
VScriptFunction pFunction = aList.Get(i);
if (Memory_IsEmptyFunction(Function_GetFunction(pFunction), true))
if (Memory_IsEmptyFunction(Function_GetBinding(pFunction), true))
Binding_SetCustom(pFunction);
}
}
Expand Down

0 comments on commit 5eb3d35

Please sign in to comment.