Had some issues with level saving/loading

During a level save, the connection to the server got lost. The file had already been opened for writing, so the level data got lost forever.

I’ve fixed this bug so that it writes level data to a temporary file first, and copies it over after transfer has finished.

Unfortunately, this caused some strange session id bug I hadn’t anticipated where everyone logged in and playing will be unable to save or load levels until they log out and log back in again. I’m sorry about this. =)

[edit:]

Yes, it’s safe to save. Only one level was lost from what I can see in the logs.

posted 14 years ago