From 7e95218da157612855a2dfb8de83ef45ac1acf35 Mon Sep 17 00:00:00 2001 From: nosoop Date: Mon, 15 Nov 2021 10:09:00 -0800 Subject: [PATCH] Fix assertion call --- scripting/tf2utils.sp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripting/tf2utils.sp b/scripting/tf2utils.sp index f1fb5fc..4afd4e7 100644 --- a/scripting/tf2utils.sp +++ b/scripting/tf2utils.sp @@ -336,7 +336,8 @@ public int Native_EquipPlayerWearable(Handle plugin, int numParams) { if (GetEntPropEnt(wearable, Prop_Send, "m_hOwnerEntity") != client) { // make sure owner is correct; if not, then gamedata is probably out of date - ThrowNativeError("Assertion failed - wearable entity %d not attached to player. " + ThrowNativeError(SP_ERROR_NATIVE, + "Assertion failed - wearable entity %d not attached to player. " ... "Gamedata may need to be updated", wearable); } }