mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
stop 0combo from trying to play
This commit is contained in:
parent
1b95cea23a
commit
47e939a77c
@ -413,7 +413,7 @@ class Game{
|
|||||||
if(this.combo > this.globalScore.maxCombo){
|
if(this.combo > this.globalScore.maxCombo){
|
||||||
this.globalScore.maxCombo = this.combo
|
this.globalScore.maxCombo = this.combo
|
||||||
}
|
}
|
||||||
if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0 && this.combo < 1500 || this.combo % 500 === 0){
|
if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0 && this.combo < 1500 || this.combo > 0 && this.combo % 500 === 0){
|
||||||
this.controller.playSoundMeka("combo-" + (this.combo <= 1400 ? this.combo : "over1500"))
|
this.controller.playSoundMeka("combo-" + (this.combo <= 1400 ? this.combo : "over1500"))
|
||||||
}
|
}
|
||||||
this.view.updateCombo(this.combo)
|
this.view.updateCombo(this.combo)
|
||||||
|
Loading…
Reference in New Issue
Block a user