mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
Fix importing custom songs
This commit is contained in:
parent
7f1bb9d357
commit
0144367c6e
@ -205,7 +205,7 @@
|
|||||||
order: index + 1,
|
order: index + 1,
|
||||||
type: "tja",
|
type: "tja",
|
||||||
chart: file,
|
chart: file,
|
||||||
stars: {},
|
courses: {},
|
||||||
music: "muted"
|
music: "muted"
|
||||||
}
|
}
|
||||||
var coursesAdded = false
|
var coursesAdded = false
|
||||||
|
@ -2279,7 +2279,7 @@ class SongSelect{
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.draw.songFrame(config)
|
this.draw.songFrame(config)
|
||||||
if(config.song.p2Cursor !== null && p2.socket.readyState === 1){
|
if("p2Cursor" in config.song && config.song.p2Cursor !== null && p2.socket.readyState === 1){
|
||||||
this.draw.diffCursor({
|
this.draw.diffCursor({
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
font: this.font,
|
font: this.font,
|
||||||
|
Loading…
Reference in New Issue
Block a user