mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Fix bad EGPObject invalid function (#3197)
This commit is contained in:
parent
a722233f1a
commit
95698bad74
@ -9,6 +9,7 @@ local isValid = EGP.EGPObject.IsValid
|
|||||||
local hasObject = EGP.HasObject
|
local hasObject = EGP.HasObject
|
||||||
local egp_create = EGP.Create
|
local egp_create = EGP.Create
|
||||||
local isAllowed = EGP.IsAllowed
|
local isAllowed = EGP.IsAllowed
|
||||||
|
local isEGPObject = EGP.IsEGPObject
|
||||||
|
|
||||||
-- Table of allowed arguments and their types
|
-- Table of allowed arguments and their types
|
||||||
local EGP_ALLOWED_ARGS =
|
local EGP_ALLOWED_ARGS =
|
||||||
@ -46,7 +47,7 @@ registerType("egpobject", "xeo", NULL_EGPOBJECT,
|
|||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
function(v)
|
function(v)
|
||||||
return not isValid(v)
|
return not isEGPObject(v)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user