Skip to content

Commit

Permalink
Fixed the previously introduced (stupid) issue of missing the unpack …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
starrify committed Apr 4, 2019
1 parent 3a9fc3e commit 275c021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripting-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ amount of time:
if not ok then
return ok, string.format('wait failed: %s', reason)
end
local check_result = check_func(vargs)
local check_result = check_func(table.unpack(vargs))
if check_result then
return true, check_result
end
Expand Down

0 comments on commit 275c021

Please sign in to comment.