1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00

Fix prettier error...

This commit is contained in:
Cooper Ransom 2024-03-01 14:11:26 -05:00
parent 41a7eead1f
commit 8c3c124516

View file

@ -208,8 +208,7 @@ function ParticlesCanvas() {
// Weed easter egg // Weed easter egg
const month3 = date.getMonth() + 1; const month3 = date.getMonth() + 1;
const day3 = date.getDate(); const day3 = date.getDate();
const shouldShowZa = const shouldShowZa = (month3 === 4 && day3 === 20) || Math.random() < 0.35; // 35%
(month3 === 4 && day3 === 20) || Math.random() < 0.38; // 38%
if (shouldShowZa) { if (shouldShowZa) {
imageOverride = [ imageOverride = [
{ {
@ -221,7 +220,7 @@ function ParticlesCanvas() {
} }
// Kitty easter egg // Kitty easter egg
const shouldShowCat = Math.random() < 0.33; // 33% const shouldShowCat = Math.random() < 0.3; // 30%
if (shouldShowCat) { if (shouldShowCat) {
imageOverride = [ imageOverride = [
{ {
@ -233,7 +232,7 @@ function ParticlesCanvas() {
} }
// Movie & popcorn easter egg // Movie & popcorn easter egg
const shouldShowParaphernalia = Math.random() < 0.23; // 23% const shouldShowParaphernalia = Math.random() < 0.2; // 20%
if (shouldShowParaphernalia) { if (shouldShowParaphernalia) {
imageOverride = [ imageOverride = [
{ {
@ -249,7 +248,7 @@ function ParticlesCanvas() {
} }
// Chicken easter egg // Chicken easter egg
const shouldShow4thDecor = Math.random() < 0.12; // 12% const shouldShow4thDecor = Math.random() < 0.1; // 10%
if (shouldShow4thDecor) { if (shouldShow4thDecor) {
imageOverride = [ imageOverride = [
{ {