summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/ui/main-menu.rml
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/assets/altcraft/ui/main-menu.rml')
-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>