Fix songs with branches

This commit is contained in:
KatieFrogs 2022-07-16 07:59:09 +02:00
parent 8d5422a680
commit ba1a6ab306

View File

@ -202,10 +202,12 @@ class Game{
p2.send("branch", "normal")
}
}
if(!measure.branch){
this.controller.lyrics.branch = null
}else if(measure.branch.active){
this.controller.lyrics.branch = measure.branch.name
if(this.controller.lyrics){
if(!measure.branch){
this.controller.lyrics.branch = null
}else if(measure.branch.active){
this.controller.lyrics.branch = measure.branch.name
}
}
}
}