aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-16 16:08:16 +0000
committerstonedDiscord <Tukz@gmx.de>2026-05-04 22:56:04 +0200
commit6bf5a32b4057f1d9e006b6dd3960e4a8c0c8c2bd (patch)
tree3ed33bee56596823f8e5472787629cdbaf75ceb5
parentebccd8e85692142141614bab9f4792628c92f7ab (diff)
Remove "sound is missing" warning
If there's no sound section in the INI, that means no sounds are intended for the character, no need to warn us for that.
-rw-r--r--webAO/packets/handlers/handlePV.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handlePV.ts b/webAO/packets/handlers/handlePV.ts
index 0865fe8..2c1cf75 100644
--- a/webAO/packets/handlers/handlePV.ts
+++ b/webAO/packets/handlers/handlePV.ts
@@ -63,7 +63,6 @@ export const handlePV = async (args: string[]) => {
esfx = ini.soundn?.[i] || "0";
esfxd = ini.soundt?.[i] ? Number(ini.soundt[i]) : 0;
} catch (e) {
- console.warn(`ini sound is completly missing: ${e}`);
esfx = "0";
esfxd = 0;
}