splewis / csgo-practice-mode

CS:GO Sourcemod plugin for private team/individual practice servers
GNU General Public License v3.0
457 stars 71 forks source link

"Leave .nades menu open after selection" doesn't work when selecting nades from user section, only other categories #263

Open regr3tti opened 1 year ago

regr3tti commented 1 year ago

Expected behavior

When the setting in the title is enabled, selecting any nade anywhere in the .nades menu should not close the .nades menu

Actual behavior

Any nade selected using the built-in User category closes the .nades menu, selecting those same nades through another custom category in the .nades menu works as expected and does not close the .nades menu.

Steps to reproduce

  1. (Tested on other maps, but for now assume Overpass)
  2. open .settings, confirm "Leave .nades menu open after selection" is set to enabled.
  3. Throw nade
  4. Save nade using .save
  5. Add category to nade
  6. open .nades menu
  7. select your username
  8. select the nade you just added
  9. .nades menu closes
  10. open .nades menu
  11. select the category you added to the nade (not username)
  12. .nades menu stays open.
regr3tti commented 1 year ago

This also happens if I use .nades with a category filter. E.g.:

  1. I have Categories "Mid" and "Flash" applied to multiple nades.
  2. I use ".nades Mid&Flash"
  3. select one of the nades with "1"
  4. the .nades menu closes.
mrc4tt commented 1 year ago

I agree menu shouldn't close when you select one of the nades.

Same issue here. :-)