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

support for non toplevel event handlers #360

Merged
merged 3 commits into from
Aug 31, 2024

Conversation

20dka
Copy link
Collaborator

@20dka 20dka commented Aug 28, 2024

this change replaces the _G event handler lookup with a lua snippet that fetches whatever the user has set, which could be a module's function, a builtin global, or even a function defined in the RegisterEvent call

@20dka 20dka force-pushed the lua-local-handler branch from acfe445 to f775678 Compare August 28, 2024 20:49
@lionkor lionkor merged commit e076197 into BeamMP:minor Aug 31, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants