Astrabit-ST / Luminol

An RPG Maker XP-VX Ace rewrite, written in Rust with love 💕
https://luminol.dev/
GNU General Public License v3.0
101 stars 12 forks source link

Prefer matching file extension when using path cache #105

Closed white-axe closed 7 months ago

white-axe commented 7 months ago

Description When looking up a file in the path cache, the path cache will now first check if there is a file with the same file extension, and then ignore the file extension if there isn't. This fixes certain problems when there are multiple files with the same filename without file extension but different file extensions in the Data folder.

Testing menheraguro on Discord reported that projects would (sometimes) not load if there was a file called mapinfos.json in the Data folder along with the normal MapInfos.rxdata. This shouldn't happen anymore.

Checklist