Skip to content

Commit

Permalink
fix: Discord RPC check (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
jebibot committed Nov 25, 2023
1 parent 7e95771 commit 16790ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/js/scripts/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 16790ca

Please sign in to comment.