From 3c42866bce356d855edc478e5af759cf4e665c9f Mon Sep 17 00:00:00 2001 From: Rayan Date: Fri, 25 Sep 2020 15:01:40 +0800 Subject: [PATCH] Update timer.lua MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 兼容 Lua 5.3 --- timer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/timer.lua b/timer.lua index 8315f68..7908d0f 100644 --- a/timer.lua +++ b/timer.lua @@ -28,6 +28,7 @@ local Timer = {} Timer.__index = Timer local function _nothing_() end +local unpack = unpack or table.unpack local function updateTimerHandle(handle, dt) -- handle: {