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,6 +202,7 @@ class Game{
p2.send("branch", "normal") p2.send("branch", "normal")
} }
} }
if(this.controller.lyrics){
if(!measure.branch){ if(!measure.branch){
this.controller.lyrics.branch = null this.controller.lyrics.branch = null
}else if(measure.branch.active){ }else if(measure.branch.active){
@ -210,6 +211,7 @@ class Game{
} }
} }
} }
}
if(this.controller.lyrics){ if(this.controller.lyrics){
this.controller.lyrics.update(ms) this.controller.lyrics.update(ms)