diff options
-rw-r--r-- | src/MinedMap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp index 5092ceb..7207dff 100644 --- a/src/MinedMap.cpp +++ b/src/MinedMap.cpp @@ -113,6 +113,7 @@ static void doRegion(const std::string &input, const std::string &output, const catch (const std::exception& ex) { std::fprintf(stderr, "Failed to generate %s: %s\n", output.c_str(), ex.what()); unlink(tmpfile.c_str()); + unlink(tmpfile_light.c_str()); } } |