From f7aaa947f674328f3f6a99a2d1ead370b0c359b2 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Tue, 1 Oct 2024 22:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEGAME.=5Frefresh=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4mechLib=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E9=83=BD=E6=B2=A1=E6=B3=A8=E5=86=8C=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/game/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/game/init.lua b/assets/game/init.lua index 87a88393..cffe9f46 100644 --- a/assets/game/init.lua +++ b/assets/game/init.lua @@ -176,10 +176,10 @@ local GAME={ GAME.camera.moveSpeed=12 function GAME._refresh() - mechLib=TABLE.newResourceTable(require'mechanicLib',function(path) return FILE.load(path,'-lua') end) - regFuncLib(mechLib,'mechLib') regFuncToStr,regStrToFunc={},{} modeLib={} + mechLib=TABLE.newResourceTable(require'mechanicLib',function(path) return FILE.load(path,'-lua') end) + regFuncLib(mechLib,'mechLib') end GAME._refresh()