some cleanups

This commit is contained in:
Rusty Striker 2025-07-13 20:20:41 +03:00
parent 838c89ac73
commit 2a36485b1b
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
4 changed files with 85 additions and 81 deletions

View file

@ -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!");