util.multitable: Localize unpack() in Lua 5.2 compatible way

This commit is contained in:
Kim Alvefur 2016-02-22 17:40:42 +01:00
parent a2c0f6d645
commit 29c6aed489

View file

@ -8,7 +8,8 @@
local select = select;
local t_insert = table.insert;
local unpack, pairs, next, type = unpack, pairs, next, type;
local pairs, next, type = pairs, next, type;
local unpack = table.unpack or unpack; --luacheck: ignore 113
local _ENV = nil;