mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
Fix song scrolling in session multiplayer
This commit is contained in:
parent
911841af95
commit
4e6eec231a
@ -1033,10 +1033,14 @@ class SongSelect{
|
||||
var selectedWidth = this.songAsset.width
|
||||
|
||||
if(this.wheelScrolls !== 0 && !this.state.locked && ms >= this.wheelTimer + 20) {
|
||||
this.state.move = this.wheelScrolls
|
||||
this.state.waitPreview = ms + 400
|
||||
if(p2.session){
|
||||
this.moveToSong(this.wheelScrolls)
|
||||
}else{
|
||||
this.state.move = this.wheelScrolls
|
||||
this.state.waitPreview = ms + 400
|
||||
this.endPreview()
|
||||
}
|
||||
this.wheelScrolls = 0
|
||||
this.endPreview()
|
||||
}
|
||||
|
||||
if(screen === "title" || screen === "titleFadeIn"){
|
||||
|
Loading…
Reference in New Issue
Block a user