mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 00:27:43 +00:00
STRG cooking bug fixes
This commit is contained in:
@@ -68,7 +68,7 @@ struct STRG : ISTRG
|
||||
{
|
||||
STRG strg;
|
||||
strg.read(rs);
|
||||
athena::io::FileWriter writer(outPath.getAbsolutePath());
|
||||
athena::io::TransactionalFileWriter writer(outPath.getAbsolutePath());
|
||||
strg.toYAMLStream(writer);
|
||||
return true;
|
||||
}
|
||||
@@ -78,7 +78,7 @@ struct STRG : ISTRG
|
||||
STRG strg;
|
||||
athena::io::FileReader reader(inPath.getAbsolutePath());
|
||||
strg.fromYAMLStream(reader);
|
||||
athena::io::FileWriter ws(outPath.getAbsolutePath());
|
||||
athena::io::TransactionalFileWriter ws(outPath.getAbsolutePath());
|
||||
strg.write(ws);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user