From 1fc4b7b564dab2b51ee20fdc93737866d060fedd Mon Sep 17 00:00:00 2001 From: Denneisk <20892685+Denneisk@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:37:27 -0500 Subject: [PATCH] Fix bad EGPObject invalid function --- lua/entities/gmod_wire_expression2/core/egpobjects.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/egpobjects.lua b/lua/entities/gmod_wire_expression2/core/egpobjects.lua index ded87d6587..24cb35eb56 100644 --- a/lua/entities/gmod_wire_expression2/core/egpobjects.lua +++ b/lua/entities/gmod_wire_expression2/core/egpobjects.lua @@ -9,6 +9,7 @@ local isValid = EGP.EGPObject.IsValid local hasObject = EGP.HasObject local egp_create = EGP.Create local isAllowed = EGP.IsAllowed +local isEGPObject = EGP.IsEGPObject -- Table of allowed arguments and their types local EGP_ALLOWED_ARGS = @@ -46,7 +47,7 @@ registerType("egpobject", "xeo", NULL_EGPOBJECT, nil, nil, function(v) - return not isValid(v) + return not isEGPObject(v) end )