Skip to content

Commit

Permalink
fixed server status color not changing
Browse files Browse the repository at this point in the history
  • Loading branch information
0neGal committed Dec 20, 2024
1 parent 2ab6eb9 commit e795835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/js/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

}
Expand Down

0 comments on commit e795835

Please sign in to comment.