aboutsummaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2017-04-14 22:16:57 -0700
committerAuke Kok <sofar+github@foo-projects.org>2017-04-17 21:45:40 -0700
commit5433e9bd19b9c3a42f8db569bf8f47d6dbe4f0c5 (patch)
tree7015667901c3cd5ab652e8de9937124397b4ac66 /src/client.h
parent61202513208b23d3e7a2a91d10aba154e6cbf352 (diff)
downloadminetest-5433e9bd19b9c3a42f8db569bf8f47d6dbe4f0c5.tar.gz
minetest-5433e9bd19b9c3a42f8db569bf8f47d6dbe4f0c5.tar.bz2
minetest-5433e9bd19b9c3a42f8db569bf8f47d6dbe4f0c5.zip
Don't make TAB exit game if bound to inventory.
I play with the TAB key bound to the inventory. However, the code here assumes that TAB means "close formspec" in all contexts, including the main menu. This causes my game to exit when I attempt to TAB in between USERNAME and PASSWORD fields. We know when m_client != NULL that the game is a client game and not in the main menu, and then it's OK to use the INVENTORY bound key to exit the formspec, since it's not the main menu.
Diffstat (limited to 'src/client.h')
0 files changed, 0 insertions, 0 deletions