longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
214 stars 39 forks source link

Not a bug but hurtful behaviour: Don't move unit right away when X is pressed #2303

Closed hugomflavio closed 15 hours ago

hugomflavio commented 3 weeks ago

Describe the bug Accidentally pressing X with a unit selected will send that unit running away immediately.

Preferred behavior Since X is not commonly used, changing the behaviour so there's a pop-up to confirm, or so that the X unit only moves at the end of the turn (like auto-workers do), would give the player time to correct the order in the event of a mistake.

lmoureaux commented 1 day ago

Went for the much easier fix of changing the default shortcut to Shift+X

hugomflavio commented 1 day ago

Oooh that's actually awesome! Nice!