[mod] Do not write dbs wihout filename.

This commit is contained in:
lzwdgc 2024-06-02 18:42:18 +03:00
parent 1ae2d9ade6
commit 400e66d4a1

View file

@ -186,7 +186,9 @@ struct mod_maker {
}
}
void write() {
if (!fn.empty()) {
m.save(fn, codepage);
}
written = true;
}
auto write(const path &fn) {