Browse Source

Deferring call to table.unpack for Lua 5.2 compatibility

Yonaba 10 years ago
parent
commit
d5541426b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      delaunay.lua

+ 1 - 1
delaunay.lua

@@ -13,7 +13,7 @@
 local setmetatable = setmetatable
 local tostring     = tostring
 local assert       = assert
-local unpack       = unpack
+local unpack       = unpack or table.unpack
 local remove       = table.remove
 local sqrt         = math.sqrt
 local max          = math.max