Skip to content

Conversation

@MittellBuurman
Copy link
Contributor

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.

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.
@jlillis jlillis merged commit e62bc54 into multitheftauto:master Nov 12, 2024
1 check passed
@MittellBuurman MittellBuurman deleted the bugfix-535 branch November 12, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants