mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[mod] Do not write dbs wihout filename.
This commit is contained in:
parent
1ae2d9ade6
commit
400e66d4a1
1 changed files with 3 additions and 1 deletions
|
|
@ -186,7 +186,9 @@ struct mod_maker {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void write() {
|
void write() {
|
||||||
m.save(fn, codepage);
|
if (!fn.empty()) {
|
||||||
|
m.save(fn, codepage);
|
||||||
|
}
|
||||||
written = true;
|
written = true;
|
||||||
}
|
}
|
||||||
auto write(const path &fn) {
|
auto write(const path &fn) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue