diff --git a/ryzom/client/src/r2/editor.cpp b/ryzom/client/src/r2/editor.cpp index 457cee562..28e789b61 100644 --- a/ryzom/client/src/r2/editor.cpp +++ b/ryzom/client/src/r2/editor.cpp @@ -7808,7 +7808,8 @@ NLMISC_COMMAND(saveScenarioRtData, "save scenario RtData to file", "") output.open(fullFileName); pRtData->serialize(ss); //std::string str = ss.str(); - output.serial(ss); + // output.serial(ss); + output.serialBuffer((uint8_t *)ss.c_str(), ss.length()); output.flush(); output.close(); }