Set default for game animations in cookies
This commit is contained in:
1 parent
86f91e7216
commit
8a4927080c
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user