From 8a4927080cddd98717b7fe0387e73bba014049ef Mon Sep 17 00:00:00 2001 From: mileswa1q22 Date: Fri, 11 Apr 2025 14:52:14 +0000 Subject: [PATCH] Set default for game animations in cookies --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index a9a3d2e2..a17239ac 100644 --- a/index.html +++ b/index.html @@ -139,6 +139,11 @@ return null; } + // Ensure animations are enabled by default + if (getCookie('gameAnimation') === null) { + setCookie('gameAnimation', 'true', 30); // Default to animations enabled + } + // Function to make everything visible if animations are turned off function makeEverythingVisible() { // Make the title visible