From 16790ca41687cc2a700b58f21ca4783c54c6494a Mon Sep 17 00:00:00 2001 From: jebibot <83044352+jebibot@users.noreply.github.com> Date: Sun, 26 Nov 2023 08:28:21 +0900 Subject: [PATCH] fix: Discord RPC check (#315) --- app/assets/js/scripts/landing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/scripts/landing.js b/app/assets/js/scripts/landing.js index 3c885bb..0374334 100644 --- a/app/assets/js/scripts/landing.js +++ b/app/assets/js/scripts/landing.js @@ -615,7 +615,7 @@ async function dlAsync(login = true) { setLaunchDetails(Lang.queryJS('landing.dlAsync.doneEnjoyServer')) // Init Discord Hook - if(distro.rawDistribution.discord != null && serv.rawServerdiscord != null){ + if(distro.rawDistribution.discord != null && serv.rawServer.discord != null){ DiscordWrapper.initRPC(distro.rawDistribution.discord, serv.rawServer.discord) hasRPC = true proc.on('close', (code, signal) => {