Update init.lua

This commit is contained in:
Niles 2020-02-14 15:08:53 -06:00 committed by GitHub
parent e1e183d632
commit 4e6b0de633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,8 @@ end
--[[
Returns first value (success), and packs all following values.
]]
local function packResult(...)
return ..., pack(select(2, ...))
local function packResult(success, ...)
return success, select("#", ...), { ... }
end
--[[