aboutsummaryrefslogtreecommitdiff
path: root/src/app/js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-12-20 23:06:01 +0100
committer0neGal <mail@0negal.com>2024-12-20 23:06:01 +0100
commite795835cfcf100c3580cd37a7fa158cfdaa960fe (patch)
treea02a52c3cfe9cf69fa175e25e93c46f07064ddc5 /src/app/js
parent2ab6eb9eed73bee67ccc0c03d8588fd77358bbf5 (diff)
downloadViper-e795835cfcf100c3580cd37a7fa158cfdaa960fe.tar.gz
Viper-e795835cfcf100c3580cd37a7fa158cfdaa960fe.zip
fixed server status color not changing
Diffstat (limited to 'src/app/js')
-rw-r--r--src/app/js/launcher.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/js/launcher.js b/src/app/js/launcher.js
index d249d34..77d9045 100644
--- a/src/app/js/launcher.js
+++ b/src/app/js/launcher.js
@@ -275,9 +275,11 @@ launcher.check_servers = async () => {
if (masterserver) {
serverstatus.classList.add("up");
+ serverstatus.classList.remove("down");
serverstatus.innerHTML = `${servercount} ${lang("gui.server.servers")} - ${playercount} ${playerstr}`;
} else {
serverstatus.classList.add("down");
+ serverstatus.classList.remove("up");
serverstatus.innerHTML = lang("gui.server.offline");
}