From dfc724767b240866c6bf845a37a73533cc2928e7 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 21 Dec 2021 10:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B8=A7=E7=8E=87=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E7=AE=97=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index f756044e..9b17d85e 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -822,7 +822,9 @@ function love.run() end end - WAIT(sleepInterval) + _=timer()-lastFrame + if _