The :unit
debug command should show an error if no unit is affected
#6116
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.
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 ofNotably, 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.The text was updated successfully, but these errors were encountered: