summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/ui/main-menu.rml
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-22 00:38:08 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-22 00:46:59 +0200
commit14939a87010ab17425d73b53829aa22c17c96d79 (patch)
tree1b388f1121040f862d4f9aee7845b2705d09df4a /cwd/assets/altcraft/ui/main-menu.rml
parentAdded game menus (diff)
downloadAltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar.gz
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar.bz2
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar.lz
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar.xz
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.tar.zst
AltCraft-14939a87010ab17425d73b53829aa22c17c96d79.zip
Diffstat (limited to '')
-rw-r--r--cwd/assets/altcraft/ui/main-menu.rml3
1 files changed, 2 insertions, 1 deletions
diff --git a/cwd/assets/altcraft/ui/main-menu.rml b/cwd/assets/altcraft/ui/main-menu.rml
index e796b67..0aaac89 100644
--- a/cwd/assets/altcraft/ui/main-menu.rml
+++ b/cwd/assets/altcraft/ui/main-menu.rml
@@ -3,6 +3,7 @@
<link type="text/rcss" href="mc-styles" />
<link type="text/rcss" href="main-menu-styles" />
<title>MainMenu</title>
+ <script src="/altcraft/scripts/ui"></script>
</head>
<body id="body-main-menu">
<strong class="mc-title" id="title">AltCraft</strong>
@@ -14,7 +15,7 @@
AC.ConnectToServer(
document:GetElementById('hostname'):GetAttribute('value'),
document:GetElementById('username'):GetAttribute('value'))">Connect</button>
- <input type="button" disabled class="mc-button" id="options">Options...</input>
+ <button type="button" class="mc-button" id="options" onclick="OpenOptions(document)">Options...</button>
<button class="mc-button" id="exit" onclick="AC.Exit()">Quit game</button>
</body>
</rmL>