remove useless stuff that should have been removed ages ago
This commit is contained in:
parent
7f87d066d3
commit
adeff61970
1 changed files with 1 additions and 5 deletions
|
@ -264,10 +264,6 @@ tavern.onconnectedplayers = (connected) => {
|
||||||
function onLoginClick() {
|
function onLoginClick() {
|
||||||
let username = document.getElementById('login-username').value;
|
let username = document.getElementById('login-username').value;
|
||||||
let pass = document.getElementById('login-pass').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);
|
tavern.login(username, pass);
|
||||||
}
|
}
|
||||||
function onGameViewScroll(event) {
|
function onGameViewScroll(event) {
|
||||||
|
@ -337,7 +333,7 @@ function openRollsPopup(action) {
|
||||||
document.getElementById('dice-roll-popup').style.display = 'flex';
|
document.getElementById('dice-roll-popup').style.display = 'flex';
|
||||||
}
|
}
|
||||||
function rollPopup() {
|
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
|
// first - hide the popup
|
||||||
document.getElementById('dice-roll-popup').style.display = 'none';
|
document.getElementById('dice-roll-popup').style.display = 'none';
|
||||||
// get the holder and start rolling dice
|
// get the holder and start rolling dice
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue