some cleanups
This commit is contained in:
parent
838c89ac73
commit
2a36485b1b
4 changed files with 85 additions and 81 deletions
|
@ -110,12 +110,6 @@ tavern.onlogin = (s) => {
|
|||
let game = document.getElementById('game');
|
||||
login.style.display = 'none';
|
||||
game.style.display = 'flex';
|
||||
// get last 50 msgs (i think that is enough for now) when we get in
|
||||
// TODO: Maybe move this into the server itself? that is a lot of stuff that we know are gonna happen...
|
||||
// For now i'll keep it like that tho
|
||||
tavern.get_last_msgs(50);
|
||||
// TODO: Perhaps figure out a way to show a certain scene? maybe on the server it would make more sense
|
||||
tavern.get_scene_list();
|
||||
}
|
||||
else {
|
||||
alert("Invalid username or password!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue