Fix composite "flats as patch" name overlap crash

Crash happens if flats are named the same as textures, and a zip compressor puts the flats first instead of textures.

Test: load SUGOI v1.0, enter Fudge Canyon.

Edited by Sal

Merge request reports

Loading