调整进入联网游戏菜单的音效播放时机

This commit is contained in:
MrZ626
2021-05-15 23:31:44 +08:00
parent c8405c8924
commit 4606bb4d01
2 changed files with 3 additions and 3 deletions

View File

@@ -376,7 +376,6 @@ function NET.updateWS_user()
NET.accessToken=res.accessToken
LOG.print(text.accessSuccessed,'message')
NET.wsconn_play()
SFX.play('connected')
elseif res.action==1 then--Get userInfo
USERS.updateUserData(res.data)
end
@@ -408,6 +407,7 @@ function NET.updateWS_play()
SCN.go('net_menu')
NET.unlock('wsc_play')
NET.unlock('access_and_login')
SFX.play('connected')
elseif res.action==0 then--Fetch rooms
NET.roomList=res.roomList
NET.unlock('fetchRoom')

View File

@@ -197,8 +197,8 @@ local loadingThread=coroutine.wrap(function()
upFloor()
end
if progress==25 then
SFX.play("emit",.6)
SFX.play("enter",.8)
SFX.play('emit',.6)
SFX.play('enter',.8)
SFX.play('welcome_sfx')
VOC.play('welcome_voc')
THEME.fresh()