Update landing.js
This commit is contained in:
parent
1056ecf38d
commit
57d3a05edc
@ -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!')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user