kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
338 stars 106 forks source link

Update FolderContainer.cs #345

Closed MDrift314 closed 9 months ago

MDrift314 commented 9 months ago

Fixes evolutions displaying incorrectly, solving https://github.com/kwsch/pkNX/issues/316 I have very little coding experience, but commit [a797377] is the cause of the issue. I added line 35 back into the most recent build, and that fixed it. I have no idea if adding it back in breaks anything else, or if there is a better way to solve the issue, or really how any of this works, but I figured since I'd found something that works I'd share it.

duckdoom4 commented 9 months ago

Ha, interesting... That means that editor is somehow dependant on the sorting order of those files. #badcode

I'm reworking the folder container code for later games, so it won't* affect anything later then swsh.

Thanks for the help! I'll merge it in 🚀