From 7a18c86927f872dbf4ccd73077943e96c4c648d5 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 7 Oct 2021 18:59:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84ide?= =?UTF-8?q?=E8=AE=A4=E4=B8=BA=E6=9C=89=E9=97=AE=E9=A2=98=E7=9A=84=E5=86=99?= =?UTF-8?q?=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, 2 insertions(+), 2 deletions(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 86654e4b..743f0120 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -239,8 +239,8 @@ local function noDevkeyPressed(key) print(WIDGET.getSelected()or"no widget selected") elseif key=="f6"then for k,v in next,_G do print(k,v)end - elseif key=="f7"and love._openConsole then - love._openConsole() + elseif key=="f7"and love["_openConsole"]then + love["_openConsole"]() elseif key=="f8"then devMode=nil MES.new('info',"DEBUG OFF",.2) elseif key=="f9"then