Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: RustyCabbage on October 15, 2021, 08:23:56 AM

Title: Main menu mission ships not resetting when mission has large numbers of ships
Post by: RustyCabbage on October 15, 2021, 08:23:56 AM
(Putting this in modded since it doesn't come up in vanilla at all)

In the main menu missions, while pressing the Reset button will clear the /saves/missions/<mission_name> folder, only the first 101 ships are actually reset to the original mission variant, with any following ones keeping any changes made to the loadout.
Title: Re: Main menu mission ships not resetting when mission has large numbers of ships
Post by: Alex on October 15, 2021, 08:37:27 AM
Thanks for the report! This is looking more like a "missions only support up to 100 ships" feature-limitation than a bug.

Though, hmm, looking at the code, they should be cleared on disk (and thus on application restart), but only up to 100 get cleared out of memory. Let me just change the 100 to 500 to make it even less likely to come up in practice.
Title: Re: Main menu mission ships not resetting when mission has large numbers of ships
Post by: RustyCabbage on October 15, 2021, 11:40:25 AM
This is looking more like a "missions only support up to 100 ships" feature-limitation than a bug.
Heh, yeah that's a very fair point. Thanks for bumping the number up, regardless. :)