diff options
Diffstat (limited to 'NorthstarDedicatedTest/scriptsrson.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptsrson.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/scriptsrson.cpp b/NorthstarDedicatedTest/scriptsrson.cpp index dbe4ddc1..d75a9e70 100644 --- a/NorthstarDedicatedTest/scriptsrson.cpp +++ b/NorthstarDedicatedTest/scriptsrson.cpp @@ -48,7 +48,7 @@ void ModManager::BuildScriptsRson() fs::create_directories(MOD_SCRIPTS_RSON_PATH.parent_path()); - std::ofstream writeStream(MOD_SCRIPTS_RSON_PATH); + std::ofstream writeStream(MOD_SCRIPTS_RSON_PATH, std::ios::binary); writeStream << scriptsRson; writeStream.close(); |