1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-05-20 00:04:11 +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 GitHub
parent 4592534a18
commit e0a288bcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,8 +114,8 @@ local function range(num, min, max)
return num return num
end end
return { return setmetatable({
expect = expect, expect = expect,
field = field, field = field,
range = range, range = range,
} }, { __call = function(_, ...) return expect(...) end })