From 8e54221fe721903867da39e86626017a7f06de92 Mon Sep 17 00:00:00 2001 From: Dongwan Seo Date: Mon, 6 May 2024 14:56:06 +0900 Subject: [PATCH] fix: expected code Signed-off-by: Dongwan Seo --- websites/S/Sorryfield/presence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websites/S/Sorryfield/presence.ts b/websites/S/Sorryfield/presence.ts index 310834c82dfe..e192b59a83cc 100644 --- a/websites/S/Sorryfield/presence.ts +++ b/websites/S/Sorryfield/presence.ts @@ -239,11 +239,11 @@ presence.on("UpdateData", async () => { presenceData.buttons = [{ label: "리플레이 보기", url: href }]; } else if (pathname.includes("/shop")) presenceData.state = "상점"; else if (pathname.includes("/sync")) presenceData.state = "환경 설정"; - else if (pathname.includes("/ranking")) + else if (pathname.includes("/ranking")) { presenceData.state = `${ document.querySelector("h2").textContent } 모드 짬 랭킹`; - else if (pathname === "/java/multiplayer") { + } else if (pathname === "/java/multiplayer") { presenceData.details = "자바! 멀티플레이어"; presenceData.largeImageKey = Assets.ChartMultiPlayer; if (document.querySelector(".room-header")) {