Skip to content

Commit

Permalink
bind 0 to mainmenu because ` is problematic in some keyboards
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Aug 28, 2012
1 parent 0d3a7ee commit 05d1eb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cube2/data/menus.cfg
Expand Up @@ -8,8 +8,9 @@ togglemainmenu = [
]
bind ESCAPE [togglemainmenu]
// Also backquote, because escape leaves fullscreen in browsers
// XXX EMSCRIPTEN: Also backquote and 0, because escape leaves fullscreen in browsers
bind BACKQUOTE [togglemainmenu]
bind 0 [togglemainmenu]
newgui main [
guibutton "add bot.." "addbot 50"
Expand Down
2 changes: 1 addition & 1 deletion cube2/game.html
Expand Up @@ -59,7 +59,7 @@
<ul>
<li>Move with WASD, jump with space, look around with the mouse.</li>
<li>Shoot with the mouse, change weapons with 1-5.</li>
<li>You can change some settings using the main menu (press <code>`</code>, which is usually under the escape key). For example, add another bot with "add bot", or change the resolution with options->res.</li>
<li>You can change some settings using the main menu (press 0 or <code>`</code>). For example, add another bot with "add bot", or change the resolution with options->res.</li>
<li>'e' toggles edit mode, which lets you fly around the map and actually modify it.</li>
<li>Press 9 to toggle thirdperson mode (to see your own character)</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion cube2/index.html
Expand Up @@ -70,7 +70,7 @@
<ul>
<li>Move with WASD, jump with space, look around with the mouse.</li>
<li>Shoot with the mouse, change weapons with 1-5.</li>
<li>You can change some settings using the main menu (press <code>`</code>, which is usually under the escape key). For example, add another bot with "add bot", or change the resolution with options->res.</li>
<li>You can change some settings using the main menu (press 0 or <code>`</code>). For example, add another bot with "add bot", or change the resolution with options->res.</li>
<li>'e' toggles edit mode, which lets you fly around the map and actually modify it.</li>
<li>Press 9 to toggle thirdperson mode (to see your own character)</li>
</ul>
Expand Down

0 comments on commit 05d1eb7

Please sign in to comment.