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