Comment 17 for bug 1753230

Revision history for this message
Tomek Szczęsny (rageagainstthebath) wrote : Re: Game crashes in Atlantis tutorial mission

Hey, thanks. I already did that. I created a branch locally and compiled it successfully.

I can't think of an elegant fix for this bug. Here are the options I've considered:

- Don't delete the savegame prior overwriting it, if the target savegame is the same as the current working one. But this might make the user end up with unnecessary files in the future (also, I don't know if existing procedures overwrite files by default)

- Make the game work on temporary savegame all the time, but I fell it's too much of a major change for a petty bug like that. Also, I think this might affect scenario development.

- Copy existing savegame somewhere and swap working filesystem with a temporary one. Then, after successful save, the game would swap back to last savegame. Delete temp savegame. Kinda convoluted, but essentially eliminates the source of a problem in all possible cases.

I'm open to any suggestions. Personally I'll see if I can make #2 or #3 work.