[BUG] [EDITOR] [FIXED] Save check when cancelling Create New Level

Started by Nepster, January 31, 2016, 10:33:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nepster

Status: Fixed.

Nepster

Start the editor and go to the new level menu (File -> New -> Level...), but then hit cancel. Now try to create another new level. The game now asks you whether to save the previous level due to changes made there. :lem-shocked:
I really wonder what info the save file would contain? ;P

namida

Are you sure those are the correct steps to reproduce this? I don't get any unexpected behaviour when doing this.

If I trigger this bug rather than just clicking "Cancel", this behaviour does occur. In this case, the saved file is completely empty.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Nevermind. I just added some code that will cause it to never show that prompt if no level is loaded. :)
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)