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

The :unit debug command should show an error if no unit is affected #6116

Closed
stevecotton opened this issue Sep 26, 2021 · 0 comments
Closed
Labels
Engine General game engine issues that do not fit in any other category. Enhancement Issues that are requests for new features or changes to existing ones. Low Priority Issues that will cause no meaningful problems if left unaddressed.

Comments

@stevecotton
Copy link
Contributor

Game and system info

1.15.17+dev (circa 1.15.18, built from afd1a90) and recent master (circa bd12eeb)

Describe the desired feature

The :unit command affects the one of

  1. the currently hovered-over unit
  2. the currently selected unit
  3. nothing

Notably, even if a unit's stats are showing in the sidebar, but that unit isn't selected, and the mouse cursor is over an empty hex, the :unit command silently does nothing. It would be helpful to show an error in the chat message area instead.

@stevecotton stevecotton added Enhancement Issues that are requests for new features or changes to existing ones. Low Priority Issues that will cause no meaningful problems if left unaddressed. labels Sep 26, 2021
@Wedge009 Wedge009 added the Engine General game engine issues that do not fit in any other category. label Sep 26, 2021
@mattsc mattsc closed this as completed in a961ce8 Jul 1, 2022
mattsc added a commit that referenced this issue Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine General game engine issues that do not fit in any other category. Enhancement Issues that are requests for new features or changes to existing ones. Low Priority Issues that will cause no meaningful problems if left unaddressed.
Projects
None yet
Development

No branches or pull requests

2 participants