diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-16 16:08:16 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-04-18 16:52:22 +0000 |
| commit | 6446889615f4e165ac131a869b540800a7f3132c (patch) | |
| tree | 2db7ba9e71d0665b9b2cd07f03ef1cee396a3606 | |
| parent | 4dc891716ba6fb33dc35e9908283c1b6b9755efd (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.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handlePV.ts b/webAO/packets/handlers/handlePV.ts index 17e9fc1..ba48f36 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; } |
