mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Simplify (#2967)
This commit is contained in:
parent
857bb81666
commit
aa34b0fcfd
@ -234,8 +234,7 @@ do
|
||||
local GetTable = EntMeta.GetTable
|
||||
|
||||
function EGP:ValidEGP( Ent )
|
||||
if not IsValid( Ent ) then return false end
|
||||
return GetTable( Ent ).IsEGP == true
|
||||
return IsValid( Ent ) and GetTable( Ent ).IsEGP == true
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user