mirror of
https://forge.murkfall.net/bluesaxman/deckard-and-company.git
synced 2026-03-13 00:44:20 -06:00
Added first few things to Options.
This commit is contained in:
@@ -140,6 +140,18 @@ function updateEvent() {
|
||||
});
|
||||
}, "add_button", "li");
|
||||
}
|
||||
if (window.UI.menu.options.button.checked) {
|
||||
elementPlace("#display","options",null,"div");
|
||||
buttonAdd("#options", null, "Invite", function () {
|
||||
var invite = window.location.href;
|
||||
navigator.clipboard.writeText(invite).then(function () {
|
||||
window.alert("Invite link copied")});
|
||||
}, null, "div");
|
||||
buttonAdd("#options", null, "Leave Game", function () {
|
||||
window.gameSession.close(4001,"User is leaving");
|
||||
window.location.search = "";
|
||||
}, null, "div");
|
||||
}
|
||||
}
|
||||
|
||||
function startGameSession() {
|
||||
|
||||
Reference in New Issue
Block a user