Skip to content

Commit

Permalink
解锁exterior后interior暂停界面不再能进设置
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Oct 6, 2023
1 parent e8692ed commit b95adc7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion assets/scene/pause_in.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ scene.widgetList={
{type='button',pos={0,.5},x=210,y=-360,w=200,h=80,lineWidth=4,cornerR=0,sound_trigger='button_back',fontSize=60,text=CHAR.icon.back,code=WIDGET.c_backScn()},
{type='button',pos={.5,.5},x=300*-1,y=-160,w=260,h=100,lineWidth=4,cornerR=0,fontSize=60,text=CHAR.icon.play, code=function() sysAction('back') end},
{type='button',pos={.5,.5},x=300*0,y=-160,w=260,h=100,lineWidth=4,cornerR=0,fontSize=60,text=CHAR.icon.retry, code=function() sysAction('restart') end},
{type='button',pos={.5,.5},x=300*1,y=-160,w=260,h=100,lineWidth=4,cornerR=0,fontSize=60,text=CHAR.icon.settings, code=function() sysAction('setting') end},
{type='button',pos={.5,.5},x=300*1,y=-160,w=260,h=100,lineWidth=4,cornerR=0,fontSize=60,text=CHAR.icon.settings,
code=function()
if PROGRESS.getMain()<=2 or isCtrlPressed() then
sysAction('setting')
else
SFX.play('move_failed')
SFX.play('suffocate',nil,nil,MATH.rand(-6,2))
end
end,
},
}
return scene

0 comments on commit b95adc7

Please sign in to comment.