Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey for Land Info in normal mode #8053

Merged
merged 1 commit into from Apr 10, 2020
Merged

Hotkey for Land Info in normal mode #8053

merged 1 commit into from Apr 10, 2020

Conversation

arikover
Copy link
Contributor

There is a key binding for the Land Info Tool in the scenario editor (default F12), but not in game.

This PR:

  • adds the possibility to bind a hotkey for the Land Info Tool in game
  • no default hotkey is set. The entry "land_info" (hotkeys.cfg, section [maintoolbar]) must be set

(this is my first PR ever, not sure if I'm supposed to add something else, sorry if I forget something)

@nielsmh
Copy link
Contributor

nielsmh commented Apr 1, 2020

You need to change the title of the commit to conform to the requirements, it needs a prefix like Add:. In commandline git, you'd do that easiest with git commit --amend, edit the commit message and save, then re-push with git push --force.

- added a hotkey for land_info in normal mode
- no default key is set
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! :D

@nielsmh nielsmh merged commit 1e3e960 into OpenTTD:master Apr 10, 2020
@arikover arikover deleted the hotkey-landinfo branch June 9, 2020 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants