Game: Fix notelocking
- Will not skip the note if `ka` was pressed right before `don` note or `don` was pressed right before `ka` note - Will still skip the note if `don` and `ka` is pressed at the same time (within 25ms) - Fixed `TAIKOWEBSKIN:` in imported songs crashing the game with some values
This commit is contained in:
@@ -16,11 +16,11 @@ class Mekadon{
|
||||
}
|
||||
type = circle.type
|
||||
if(type === "balloon"){
|
||||
this.playDrumrollAt(circle, 0, 30)
|
||||
return this.playDrumrollAt(circle, 0, 30)
|
||||
}else if(type === "drumroll" || type === "daiDrumroll"){
|
||||
this.playDrumrollAt(circle, 0, 60)
|
||||
return this.playDrumrollAt(circle, 0, 60)
|
||||
}else{
|
||||
this.playAt(circle, 0, 450)
|
||||
return this.playAt(circle, 0, 450)
|
||||
}
|
||||
}
|
||||
playAt(circle, ms, score, dai, reverse){
|
||||
@@ -35,7 +35,7 @@ class Mekadon{
|
||||
if(kaAmount > 0){
|
||||
score = Math.random() > kaAmount ? 1 : 2
|
||||
}
|
||||
this.playAt(circle, ms, score)
|
||||
return this.playAt(circle, ms, score)
|
||||
}
|
||||
}
|
||||
miss(circle){
|
||||
|
||||
Reference in New Issue
Block a user