multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
151 stars 151 forks source link

editor: Fix UI appearing during map testing when "collision patches" enabled #539

Closed q8X closed 1 week ago

q8X commented 2 weeks ago

Fixes #532, Currently the map editor shows the UI when collision patches are enabled during map testing, this caused by https://github.com/multitheftauto/mtasa-resources/blob/80d98fdc7daf7748756a7726b3261362ad8bdc9c/%5Beditor%5D/editor_gui/client/options_gui.lua#L127-L136

jlillis commented 1 week ago

Tested and working, thanks!