goldencow2 / 18Engine

A plug-and-play script that can be added to any 18XX mod on TTS with no scripting knowledge.
GNU General Public License v3.0
4 stars 3 forks source link

(Versions less than 2.0) Setting USE_SAVES = true prevents me from changing game options. #2

Open goldencow2 opened 4 years ago

goldencow2 commented 4 years ago

Edit: As of version 2.0 this issue should only happen if you're modifying BANK_SIZE or (currently not implemented) starting treasuries and issue sizes. I don't think there's a way around this, as the script has no way of telling itself "The game has started and I should therefore start overwriting default values with saved values".

I have included a warning telling users to set USE_SAVES to false before changing values.


Due to a combination of oversight and labor-saving code, the current save system locks in the current options when it's turned on -- even if those options are the default ones.

If you need to change your game options after setting USE_SAVES = true then

  1. Set USE_SAVES = false
  2. Run the script; this will clear out the locked options.
  3. Make your changes, then only when you are satisfied set USE_SAVES = true

A fix for this should be coming soon.