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.
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
cargo fmt
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
cargo build --release
trunk build --release