From 8212948ad92b5f81b1823038f716c682d28bdf64 Mon Sep 17 00:00:00 2001 From: Lywx Date: Tue, 7 May 2024 22:00:25 -0600 Subject: Fixed otr creation --- src/Companion.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Companion.cpp') diff --git a/src/Companion.cpp b/src/Companion.cpp index d9847d8..021597f 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -671,7 +671,8 @@ void Companion::ProcessFile(YAML::Node root) { stream.str(""); stream.clear(); exporter->get()->Export(stream, data, result.name, result.node, &result.name); - auto data = stream.str();; + auto data = stream.str(); + this->gCurrentWrapper->CreateFile(result.name, std::vector(data.begin(), data.end())); break; } case ExportType::Modding: { -- cgit v1.2.3