Add clear and endclear animations

This commit is contained in:
LoveEevee
2018-09-26 03:26:42 +03:00
parent 8226123c1b
commit fa818ad370
6 changed files with 32 additions and 13 deletions

View File

@@ -281,7 +281,7 @@ class Game{
var ms = this.getElapsedTime().ms
if(this.musicFadeOut === 0){
if(this.controller.multiplayer === 1){
p2.send("gameresults", this.controller.getGlobalScore())
p2.send("gameresults", this.getGlobalScore())
}
this.musicFadeOut++
}else if(this.musicFadeOut === 1 && ms >= started + 1600){