mirror of
https://github.com/notwa/lips
synced 2024-11-14 09:29:03 -08:00
fix a typo that broke table unpacking
This commit is contained in:
parent
dfd925e70f
commit
11b62bf9de
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ local floor = math.floor
|
|||
local format = string.format
|
||||
local insert = table.insert
|
||||
local remove = table.remove
|
||||
local unpack = unpack or table.unpack
|
||||
|
||||
local path = string.gsub(..., "[^.]+$", "")
|
||||
local data = require(path.."data")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
local insert = table.insert
|
||||
local unpack = rawget(_G, 'unpack') or table.insert
|
||||
local unpack = rawget(_G, 'unpack') or table.unpack
|
||||
|
||||
local path = string.gsub(..., "[^.]+$", "")
|
||||
local data = require(path.."data")
|
||||
|
|
Loading…
Reference in a new issue