1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-26 23:42:18 +00:00

Add the ability to call cc.expect directly

This commit is contained in:
JackMacWindows 2021-05-19 20:14:13 -04:00 committed by Jummit
parent 010ebacd1a
commit 10aa6c5297

View File

@ -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 })