Bug fixes
- Fix chart in Ai want U - Mute music on song select with Q - Do not scroll song select background when the tab is not active - Fix very short inputs not being recognized - Fix sound being muted when playing the same song again - Fix multiplayer when audio latency is set - Fix getting stuck when imported song cannot be restarted - Fix 2P cursor when ura is selected by both players - Add KeyboardEvent.key to browser tests - Separate buttons like Shift+Left into two on the How to Play page - Change focused button on the custom songs screen to the first one available - Add favicon to the admin page - Display the id on the admin new song page
This commit is contained in:
@@ -4,6 +4,7 @@ class Mekadon{
|
||||
this.game = game
|
||||
this.lr = false
|
||||
this.lastHit = -Infinity
|
||||
this.delay = controller.audioLatency
|
||||
}
|
||||
play(circle){
|
||||
var type = circle.type
|
||||
@@ -24,7 +25,7 @@ class Mekadon{
|
||||
}
|
||||
}
|
||||
playAt(circle, ms, score, dai, reverse){
|
||||
var currentMs = circle.ms - this.getMS()
|
||||
var currentMs = circle.ms - this.getMS() + this.delay
|
||||
if(ms > currentMs - 10){
|
||||
return this.playNow(circle, score, dai, reverse)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user