diff --git a/source/src/command.cpp b/source/src/command.cpp index bdd3e403..3b6a7e46 100644 --- a/source/src/command.cpp +++ b/source/src/command.cpp @@ -567,9 +567,9 @@ COMMAND(writecfg, ARG_NONE); bool deletecfg() { - if(!delfile("config/saved.cfg")) + if(!delfile("config/saved.cfg") || !delfile("config/init.cfg")) { - conoutf("could not delete the file config/saved.cfg"); + conoutf("could not delete the configuration"); return false; } return true;