From c7658ec5db6b734bfdfded64716c8b6c7bf5a2a6 Mon Sep 17 00:00:00 2001 From: huangxd- <649924757@qq.com> Date: Wed, 22 Oct 2025 00:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbahamut=E5=BC=B9=E5=B9=95?= =?UTF-8?q?=E5=88=86=E6=95=A3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- danmu_api/worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/danmu_api/worker.js b/danmu_api/worker.js index 255cd8c..32aa625 100644 --- a/danmu_api/worker.js +++ b/danmu_api/worker.js @@ -4669,9 +4669,9 @@ function formatBahamutComments(items) { const positionToMode = { 0: 1, 1: 5, 2: 4 }; return items.map(c => ({ cid: Number(c.sn), - p: `${c.time.toFixed(2)},${positionToMode[c.position] || c.tp},${parseInt(c.color.slice(1), 16)},[bahamut]`, + p: `${Math.round(c.time / 10).toFixed(2)},${positionToMode[c.position] || c.tp},${parseInt(c.color.slice(1), 16)},[bahamut]`, m: simplized(c.text), - t: c.time + t: Math.round(c.time / 10) })); }