From 06c5beae7d8ca1e9344f23e48d42ceef0efd0b89 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 12 Aug 2021 17:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A0=E8=BD=BD=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E4=BF=A1=E6=81=AF=E6=B2=A1=E6=9C=89=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=BC=8F=E6=97=B6=E4=B8=8D=E4=BC=9A=E5=9B=A0?= =?UTF-8?q?=E4=B8=BA=E5=8F=96=E4=B8=8D=E5=88=B0=E6=A8=A1=E5=BC=8F=E5=90=8D?= =?UTF-8?q?=E8=80=8C=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/gametoolfunc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index f32179b7..4023043a 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -260,7 +260,8 @@ function loadGame(mode,ifQuickPlay,ifNet)--Load a mode and go to game scene if ifNet then SCN.go('net_game','swipeD') else - drawableText.modeName:set((text.modes[mode][1]or mode).." "..(text.modes[mode][2]or"")) + local modeText=text.modes[mode]or{"["..MODES[mode].name.."]",""} + drawableText.modeName:set(modeText[1].." "..modeText[2]) SCN.go('game',ifQuickPlay and'swipeD'or'fade_togame') SFX.play('enter') end