BanchoLobby: Pass scores array when match is over.

parent af0ae3d8
Pipeline #2041 passed with stage
in 1 minute and 58 seconds
......@@ -310,13 +310,15 @@ class BanchoLobby extends EventEmitter {
case "matchAborted":
/**
* @event BanchoLobby#matchFinished
* @type {Array.<BanchoLobbyPlayerScore>} Sorted scores array
*/
/**
* @event BanchoLobby#matchAborted
* @type {Array.<BanchoLobbyPlayerScore>} Sorted scores array
*/
this.playing = false;
this.sortScores();
this.emit(regex.name);
this.emit(regex.name, this.scores);
break;
case "invalidBeatmapId":
case "passwordRemoved":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment