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

Fix #535: Map key bind interferes with race editor help #573

Merged
merged 1 commit into from
Nov 12, 2024

Commits on Nov 11, 2024

  1. Fix multitheftauto#535: Map key bind interferes with race editor help

    Added onClientResourceStart and onClientResourceStop event handlers to
    listen on the root element.
    
    When both the editor resource, and the race resource are active, it
    unbinds toggleMap from F2
    
    When the editor resource is active, and you stop the race resource, it
    binds toggleMap back to F2.
    
    Since the help menu in Race is only active when the editor is active,
    this should really be the only time it should either bind or unbind the
    toggleMap.
    MittellBuurman committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    e1497e9 View commit details
    Browse the repository at this point in the history