diff options
Diffstat (limited to 'NorthstarDedicatedTest/keyvalues.cpp')
-rw-r--r-- | NorthstarDedicatedTest/keyvalues.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/keyvalues.cpp b/NorthstarDedicatedTest/keyvalues.cpp index cada5cbe..6de93822 100644 --- a/NorthstarDedicatedTest/keyvalues.cpp +++ b/NorthstarDedicatedTest/keyvalues.cpp @@ -113,11 +113,11 @@ void ModManager::TryBuildKeyValues(const char* filename) newKvs += rootName; newKvs += "\n{\n}\n"; - std::ofstream originalFileWriteStream(compiledDir / ogFilePath); + std::ofstream originalFileWriteStream(compiledDir / ogFilePath, std::ios::binary); originalFileWriteStream << originalFile; originalFileWriteStream.close(); - std::ofstream writeStream(compiledPath); + std::ofstream writeStream(compiledPath, std::ios::binary); writeStream << newKvs; writeStream.close(); |