Update landing.js

This commit is contained in:
DevLarge 2021-01-06 17:29:15 +01:00
parent 1056ecf38d
commit 57d3a05edc

View File

@ -81,10 +81,7 @@ function setDownloadPercentage(value, max, percent = ((value/max)*100)){
*/ */
function setLaunchEnabled(val){ function setLaunchEnabled(val){
document.getElementById('launch_button').disabled = !val document.getElementById('launch_button').disabled = !val
if (clientInformation.shutdownRPC) { if (clientInformation.onGameClose) {
loggerLanding.log('Large comment: ShutdownRPC')
}
if (clientInformation.onGameClose == true) {
loggerLanding.log('Large comment: Game Closed') loggerLanding.log('Large comment: Game Closed')
} }
} }
@ -694,7 +691,7 @@ function dlAsync(login = true){
if(SERVER_JOINED_REGEX.test(data)){ if(SERVER_JOINED_REGEX.test(data)){
DiscordWrapper.updateDetails('Exploring the Realm!') DiscordWrapper.updateDetails('Exploring the Realm!')
} else if(GAME_JOINED_REGEX.test(data)){ } else if(GAME_JOINED_REGEX.test(data)){
DiscordWrapper.updateDetails('Sailing to Westeros!') DiscordWrapper.updateDetails('Exploring Stellar!')
} }
} }