From ce92acb6948035d58d8cf692cd13cee7cf4f24b0 Mon Sep 17 00:00:00 2001 From: LikG21 <105096714+LikG21@users.noreply.github.com> Date: Wed, 28 Jun 2023 10:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/hy08_caici/scene/hy08_caici.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/hy08_caici/scene/hy08_caici.ts b/assets/hy08_caici/scene/hy08_caici.ts index b5ac78e..a820c44 100644 --- a/assets/hy08_caici/scene/hy08_caici.ts +++ b/assets/hy08_caici/scene/hy08_caici.ts @@ -130,7 +130,7 @@ export default class SceneComponent extends MyCocosSceneComponent { startQuestion() { // æ¸¸æˆæ‰€éœ€çš„åˆå§‹åŒ–æ•°æ® this.currentId = 0 - this.time = this.data.options.length * 4 + this.time = this.data.options.length * 3 this.currentTime = this.time * 1000; this.lengthProgress = 0 this.right = 0 @@ -191,6 +191,7 @@ export default class SceneComponent extends MyCocosSceneComponent { this.state = State.Recording; this.hideAnswer(); this.currentId++; + this.currentTime = (this.time - this.currentId * 3)*1000 if (!this.getCurrentOptions()) { this.gameOver(); return; -- 2.21.0