Skip to content

Conversation

@MittellBuurman
Copy link
Contributor

Fixes #535

  • Added a check to see if the race recource is running when freeroam is running. Disabling/unbinding the toggleMap feature from the client (since you're racing, and likely testing the map, having a map spawn selector doesn't seem useful here).

Dutchman101 and others added 3 commits November 11, 2024 12:56
Resource originally written and published by MTA team member Ryden (Alberto Alonso). I've made several tweaks to it over time, while it ran on a large freeroam server.
* Initial fixes for superman

* Update meta.xml

* Fix lint warnings.
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
Copy link
Contributor Author

Closed PR due to author commit conflicts

@MittellBuurman MittellBuurman deleted the bugfix-535 branch November 11, 2024 13:42
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.

freeroam: Map key bind interferes with race editor help

4 participants