mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-21 06:26:55 +00:00
Add the ability to call cc.expect directly
This commit is contained in:
parent
4592534a18
commit
e0a288bcb9
@ -114,8 +114,8 @@ local function range(num, min, max)
|
||||
return num
|
||||
end
|
||||
|
||||
return {
|
||||
return setmetatable({
|
||||
expect = expect,
|
||||
field = field,
|
||||
range = range,
|
||||
}
|
||||
}, { __call = function(_, ...) return expect(...) end })
|
||||
|
Loading…
Reference in New Issue
Block a user