-
Notifications
You must be signed in to change notification settings - Fork 37
Menu exception #390
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
Comments
Could you please provide a reproducible code? That traceback is rather ambiguous, as there is no way to tell if the missing key is the player index or the selected option.. |
He mentioned he might've been using the adaptive radar plugin, so I have a feeling this might be causing issues with menus created by SourceMod plugins: @ClientCommand('menuselect')
def menu_select(command, index):
"""Called when the player selects an option in the menu."""
# Did the player close their menu?
if SimpleMenu.get_user_queue(index).active_menu is None:
PlayerAR(index).show_radar() I'll see if I can reproduce it in a few minutes. |
Ran into a small issue:
That happens whenever a menu is created/sent by SourceMod. |
That's likely part of the issue, actually. I currently don't have the time, or an up-to-date environment for that game to dig deeper, but the solution would be similar to what was suggested into #140. Feel free to play around with it and make a PR if you get it to work. |
Will do as soon as I get back! |
I encountered an exception with the menus, not sure if it's a big issue but thought to report it nevertheless.
I might've been using the adaptive radar plugin from the forums though, not sure if it was turned on or off.
The text was updated successfully, but these errors were encountered: