And bumped Version

This commit is contained in:
2026-02-06 11:10:37 -06:00
parent 2c918565de
commit fa0c16609d

View File

@@ -217,7 +217,7 @@
const emoteEl = document.getElementById("emote"); const emoteEl = document.getElementById("emote");
const messageEl = document.getElementById("message"); const messageEl = document.getElementById("message");
const POLL_INTERVAL = 2000; const POLL_INTERVAL = 2000;
const VERSION = "v1.3.3"; const VERSION = "v1.4.0";
// Sound system // Sound system
let audioCtx = null; let audioCtx = null;
@@ -325,7 +325,11 @@
function handleStateChange(newState, newEmote, customSound) { function handleStateChange(newState, newEmote, customSound) {
// Handle custom sound from notification // Handle custom sound from notification
if (customSound && customSound !== "none" && customSound !== lastCustomSound) { if (
customSound &&
customSound !== "none" &&
customSound !== lastCustomSound
) {
playSoundByName(customSound); playSoundByName(customSound);
lastCustomSound = customSound; lastCustomSound = customSound;
} else if (!customSound) { } else if (!customSound) {