mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
Fix importing custom songs
This commit is contained in:
parent
7f1bb9d357
commit
0144367c6e
@ -205,7 +205,7 @@
|
||||
order: index + 1,
|
||||
type: "tja",
|
||||
chart: file,
|
||||
stars: {},
|
||||
courses: {},
|
||||
music: "muted"
|
||||
}
|
||||
var coursesAdded = false
|
||||
|
@ -2279,7 +2279,7 @@ class SongSelect{
|
||||
})
|
||||
}
|
||||
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({
|
||||
ctx: ctx,
|
||||
font: this.font,
|
||||
|
Loading…
Reference in New Issue
Block a user