remove useless stuff that should have been removed ages ago

This commit is contained in:
Rusty Striker 2025-07-28 19:12:52 +03:00
parent 7f87d066d3
commit adeff61970
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15

View file

@ -264,10 +264,6 @@ tavern.onconnectedplayers = (connected) => {
function onLoginClick() {
let username = document.getElementById('login-username').value;
let pass = document.getElementById('login-pass').value;
if (username == 'test') {
// TODO: Remove this for when im done dev-ing with this file
tavern.onlogin(true);
}
tavern.login(username, pass);
}
function onGameViewScroll(event) {
@ -337,7 +333,7 @@ function openRollsPopup(action) {
document.getElementById('dice-roll-popup').style.display = 'flex';
}
function rollPopup() {
// TODO: Maybe let the server roll the dice?
// TODO: Move dice rolls to the server to make sure no one is cheating :)
// first - hide the popup
document.getElementById('dice-roll-popup').style.display = 'none';
// get the holder and start rolling dice