Confirmation prompt when overwriting saved level

Owlfeathers asked for this feature 10 months ago — 2 comments

Owlfeathers commented 10 months ago

Addition of a confirmation prompt which appears when using the "level_save" command on a level which is non-empty, to prevent losing work by way of accidentally overwriting a saved level.

| manylegged commented 10 months ago Admin

Implemented, sort of. We don't have a mechanism to read input so I added a switch the command.

Say 'level_save -f 4' to overwrite level 4. If you omit the -f it won't do anything.

Note that you can also say levelsave "nameof_level" which might be easier to keep track of.

Join the discussion!

with GitHub to comment