修复bahamut弹幕分散的问题

This commit is contained in:
huangxd- committed 2025-10-22 00:07:26 +08:00
1 parent f4dff47bc3
commit c7658ec5db
1 file changed
+2 -2
+2 -2
View File
@@ -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)
}));
}