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: Duplicate the same filename in meta.xml causes editor to stop #538

Closed q8X closed 1 week ago

q8X commented 3 weeks ago

Which resource(s) have this problem? Editor

Describe the bug Duplicating the same filename in meta.xml causes the editor to stop, It's hard to find this bug when you handle a lot of maps, and rarely editor duplicate it in editor_test/dump for some reason

To Reproduce

  1. Open meta.xml in any map
  2. Duplicate any filename in the same path and save the file
  3. Open the map in editor
  4. Start a full test
  5. See error

Expected behavior editor should ignore any duplicate filenames in the same path

Screenshots image image

Version Multi Theft Auto v1.6-release-22684