From 32c2662a6f70d481d0e67ef7a87917116adb40e1 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 6 May 2021 14:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BA=BA=E5=9B=9E=E7=AD=94?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=90=8E,=20=E8=BF=98=E6=98=AF=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=9C=AC=E8=BD=AE=E7=BB=93=E6=9D=9F=E5=86=8D=E5=8F=91?= =?UTF-8?q?=E9=80=81=E4=B8=8B=E4=B8=80=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/controllers/puzzle.controller.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/controllers/puzzle.controller.ts b/src/api/controllers/puzzle.controller.ts index f059abd..4d358a0 100644 --- a/src/api/controllers/puzzle.controller.ts +++ b/src/api/controllers/puzzle.controller.ts @@ -98,9 +98,10 @@ class PuzzleController extends BaseController { if (mode == 1) { let score = result ? 3 : -1 await updateScore(history.room, [{accountid, score }]) - if (checkSubFinish(history, id)) { - await sendOneQuestion(history) - } + + // if (checkSubFinish(history, id)) { + // await sendOneQuestion(history) + // } } return { result, answer: record.a1, stats: history.members } }