Bug fixes
This commit is contained in:
@@ -85,6 +85,7 @@ function showAccountSwitcher() {
|
||||
}
|
||||
let thisuser;
|
||||
try {
|
||||
console.log(users.users, users.currentuser);
|
||||
thisuser = new Localuser(users.users[users.currentuser]);
|
||||
thisuser.initwebsocket().then(_ => {
|
||||
thisuser.loaduser();
|
||||
@@ -94,7 +95,8 @@ try {
|
||||
console.log("done loading");
|
||||
});
|
||||
}
|
||||
catch {
|
||||
catch (e) {
|
||||
console.error(e);
|
||||
document.getElementById("load-desc").textContent = "Account unable to start";
|
||||
thisuser = new Localuser(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user