shavitush/bhoptimer

Possibility to change menu display duration

GAMMACASE opened this issue · 3 comments

Currently most, if not all, menus are using 20 seconds as a default display time, which might be okay for some menus, but sometimes it's not enough, like for example menu that shows all completed maps for a specific style where you need to scroll to find the specific map you are looking for, and it's super annoying when it closes and you need to scroll again. By scrolling the menu here I mean going to next/prev page. Some convar that changes this display time for all the menus would be cool to have here.

rtldg commented

honestly, is there any reason to not use MENU_TIME_FOREVER?

idk why shavit decided to set it to 20 seconds, but I had 0 trouble from using MENU_TIME_FOREVER in other plugins.

rtldg commented

Decided to use 5 minutes for everything (so at least idle menus will be freed eventually) and adding a cvar seems unnecessary. bf7f68f