From f41948eae4064e8421f533bccbfe7e753d38edcc Mon Sep 17 00:00:00 2001 From: oc Date: Mon, 4 Feb 2019 11:44:40 +0800 Subject: [PATCH] different ending in competition mode --- libs/events.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/events.js b/libs/events.js index d36981bc..8db0f4fb 100644 --- a/libs/events.js +++ b/libs/events.js @@ -233,6 +233,11 @@ events.prototype.gameOver = function (ending, fromReplay, norank) { core.setWeather(); core.ui.closePanel(); + if (main.isCompetition && core.isset(ending)) { + if (ending == "") ending = "恭喜通关"; + ending += "[比赛]"; + } + // 下载录像 var confirmDownload = function () {