diff --git a/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua b/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua index 1a65f34ebd..6a8fc55dcd 100644 --- a/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua +++ b/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua @@ -229,7 +229,9 @@ end -- Other -------------------------------------------------------- do - local GetTable = FindMetaTable( "Entity" ).GetTable + local EntMeta = FindMetaTable( "Entity" ) + local IsValid = EntMeta.IsValid + local GetTable = EntMeta.GetTable function EGP:ValidEGP( Ent ) if not IsValid( Ent ) then return false end