fix reconnecting issues

This commit is contained in:
MathMan05 2024-08-11 20:20:18 -05:00
parent a748e923fd
commit 2f8d55d0db
4 changed files with 6 additions and 2 deletions

View file

@ -37,6 +37,7 @@ function showAccountSwitcher() {
table.append(userinfo);
userinfo.addEventListener("click", _ => {
thisuser.unload();
thisuser.swapped = true;
document.getElementById("loading").classList.remove("doneloading");
document.getElementById("loading").classList.add("loading");
thisuser = new Localuser(specialuser);