From 09117c4704e17be817b25c69aad6968c12492b30 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 19 Oct 2023 13:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=B4=E5=8A=9B=E4=BF=AE=E5=A4=8D=E5=AF=B9?= =?UTF-8?q?=E6=88=98=E6=A8=A1=E5=BC=8F=E4=BC=9A=E5=87=BA=E7=8E=B0=E5=9B=9E?= =?UTF-8?q?=E6=94=BE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/pause.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index 78e5edcde..c4f0b9db8 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -359,8 +359,8 @@ scene.widgetList={ fShade=GC.DO{70,70,{'setCL',1,1,1,.4},{'draw',GC.DO{70,70,{'setCL',1,1,1,1},{'fRRPol',37,35,32,3,6},{'fRRPol',25,35,32,3,6}}}}, hideF=function() return PLAYERS[1].frameRun<=180 end, }, - WIDGET.newKey{name='replay', x=865,y=165,w=200,h=40,font=25,code=pressKey'p',hideF=function() return not (GAME.result or GAME.replaying) or #PLAYERS>1 end}, - WIDGET.newKey{name='save', x=1075,y=165,w=200,h=40,font=25,code=pressKey'o',hideF=function() return not (GAME.result or GAME.replaying) or #PLAYERS>1 or GAME.saved end}, + WIDGET.newKey{name='replay', x=865,y=165,w=200,h=40,font=25,code=pressKey'p',hideF=function() return not (GAME.result or GAME.replaying) or GAME.curMode.name:find('solo_') or GAME.curMode.name:find('techmino') end}, + WIDGET.newKey{name='save', x=1075,y=165,w=200,h=40,font=25,code=pressKey'o',hideF=function() return not (GAME.result or GAME.replaying) or GAME.curMode.name:find('solo_') or GAME.curMode.name:find('techmino') or GAME.saved end}, } return scene