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

Category selection filter doesn't work #2597

Open
Hazy-uhyR opened this issue Feb 8, 2024 · 1 comment
Open

Category selection filter doesn't work #2597

Hazy-uhyR opened this issue Feb 8, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@Hazy-uhyR
Copy link
Contributor

Description

The filter is accepted by the game, but then nothing happens. Tested with COMMANDER and UNDERWATER categories. I'm not sure why it doesn't work, as the code is too advanced for me to understand.

https://github.com/beyond-all-reason/spring/blob/43959c94747ebc6a82445dd07efe65892821a0ca/rts/Game/UI/SelectionKeyHandler.cpp#L186

category = "ALL WEAPON NOTSUB COMMANDER NOTSHIP NOTAIR NOTHOVER SURFACE CANBEUW EMPABLE",

Expected Behaviour

It should work.

Actual Behaviour

The action is accepted by the game, but then nothing happens.

Reproduction steps

Put the below in uikeys.txt and start up a game. Set keybind preset to Custom. Note that comms do not get selected on execution.
bind ctrl+g select AllMap+_Category_COMMANDER+_ClearSelection_SelectOne+

Other

No response

@Hazy-uhyR Hazy-uhyR added the Bug Something isn't working label Feb 8, 2024
@Hazy-uhyR
Copy link
Contributor Author

beyond-all-reason/spring#816 ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant