diff --git a/parts/net.lua b/parts/net.lua index caf6212f..8a400487 100644 --- a/parts/net.lua +++ b/parts/net.lua @@ -171,7 +171,7 @@ function NET.codeLogin(email,code) USER.aToken=res.data.accessToken saveUser() SCN.pop()SCN.push('net_menu') - SCN.go('reset_password','fade') + SCN.swapTo('reset_password') end end diff --git a/parts/scenes/net_menu.lua b/parts/scenes/net_menu.lua index c219c997..35cf7570 100644 --- a/parts/scenes/net_menu.lua +++ b/parts/scenes/net_menu.lua @@ -17,9 +17,7 @@ scene.widgetList={ WIDGET.newButton{name='league',x=640, y=180,w=350,h=120,font=40,color='D',code=goScene'net_league'}, WIDGET.newButton{name='ffa', x=640, y=360,w=350,h=120,font=40,color='D',code=function() MES.new('warn',text.notFinished)--[[NET.enterRoom({name='ffa'})]] end}, WIDGET.newButton{name='rooms', x=640, y=540,w=350,h=120,font=40,code=goScene'net_rooms'}, - WIDGET.newButton{name='resetPW',x=680, y=40,w=180,h=60,color='dG',code=function() - SCN.go('reset_password','none') - end}, + WIDGET.newButton{name='resetPW',x=680, y=40,w=180,h=60,color='dG',code=function() SCN.go('reset_password','none') end}, WIDGET.newButton{name='logout',x=880, y=40,w=180, h=60,color='dR', code=function() if tryBack() then