aboutsummaryrefslogtreecommitdiff
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
parent2ab6eb9eed73bee67ccc0c03d8588fd77358bbf5 (diff)
downloadViper-e795835cfcf100c3580cd37a7fa158cfdaa960fe.tar.gz
Viper-e795835cfcf100c3580cd37a7fa158cfdaa960fe.zip
fixed server status color not changing
-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");
}