From 2986d37ac7932672c440140f8fb7be146e0245b4 Mon Sep 17 00:00:00 2001 From: "nuo.o" <49533950+nuoxoxo@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:31:04 +0200 Subject: [PATCH] Update Aoc2212.tsx --- src/includes/Aoc2212.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/Aoc2212.tsx b/src/includes/Aoc2212.tsx index e51caf9..2776fe0 100644 --- a/src/includes/Aoc2212.tsx +++ b/src/includes/Aoc2212.tsx @@ -8,7 +8,7 @@ const choice = suffixes[Math.floor(Math.random() * suffixes.length)] const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2212." + choice const symbolArr = ["○", '✲', '✳', '✵', '✶', '✻', '✼'] -const symbol = symbolArr[Math.floor(Math.random() * symbolArr.length)] +const symbol = (choice == 'in') ? symbolArr[Math.floor(Math.random() * symbolArr.length)] : '-' const denseSymbol = 'x'//symbolArr[Math.floor(Math.random() * symbolArr.length)] const density:number = 170