From 68d6c7d7356d43d6f68e34e520ef64ab4b29dab3 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Wed, 20 May 2026 11:48:34 -0700 Subject: [PATCH] Fix syntax error in audio unlock function that broke the game --- game.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game.js b/game.js index bcb8284..7a03f2f 100644 --- a/game.js +++ b/game.js @@ -119,6 +119,8 @@ const SFX = (() => { if (ctx.state === 'suspended') ctx.resume(); return ctx; } + + function unlock() { if (!ctx) ctx = new (window.AudioContext || window.webkitAudioContext)(); if (ctx.state === 'suspended') ctx.resume().then(() => {}); }