From fc8cb2ed0695da04ccd16f467c981dec16c43651 Mon Sep 17 00:00:00 2001 From: toast Date: Tue, 16 Apr 2024 17:28:12 +0900 Subject: [PATCH] =?UTF-8?q?my=20perfect=20toast=20burnt=20because=20of=20t?= =?UTF-8?q?his=20one=20char=20=3D=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 4d3ba15..a25f5d9 100644 --- a/main.js +++ b/main.js @@ -96,7 +96,7 @@ loader.load('model.glb', gltf => { function onEnd() { const diff = burntAt * 100 - time if (time < 100) message.textContent = 'hold...'; - else if (diff > 0) { + else if (diff >= 0) { const resultTier = tiers.find(tier => diff >= tier.threshold); message.style.color = resultTier.color; message.textContent = `${resultTier.name} (-${diff / 100}s)`;