Add Don-chan

This commit is contained in:
LoveEevee
2018-09-14 01:55:23 +03:00
parent a8b05df75e
commit 1d0fc88374
7 changed files with 167 additions and 11 deletions

View File

@@ -112,7 +112,7 @@ class P2Connection{
}
}
play(circle, mekadon){
if(this.otherConnected){
if(this.otherConnected || this.notes.length > 0){
if(this.notes.length == 0){
mekadon.play(circle)
}else{
@@ -127,6 +127,8 @@ class P2Connection{
}
}
}
}else if(mekadon.miss(circle)){
this.notes.shift()
}
}
}