Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Main menu mission ships not resetting when mission has large numbers of ships  (Read 416 times)

RustyCabbage

  • Captain
  • ****
  • Posts: 347
    • View Profile

(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.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile

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.
Logged

RustyCabbage

  • Captain
  • ****
  • Posts: 347
    • View Profile

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. :)