fix: typo in build-game.ts

This commit is contained in:
unanmed 2025-10-10 23:28:50 +08:00
parent f76034492b
commit 5dfeabb3bf

View File

@ -648,7 +648,7 @@ async function buildGame() {
`⚠️ 压缩包大于 100M可能导致发塔困难请考虑降低塔的大小\r\n`
);
const suggections: string[] = [];
if (dataObject.main.bgms.some(v => !v.endsWith('opuw'))) {
if (dataObject.main.bgms.some(v => !v.endsWith('opus'))) {
suggections.push(`将 BGM 和音效换用 opus 格式`);
}
if (dataObject.main.images.some(v => !v.endsWith('webp'))) {