kaetemi 4 years ago
parent 639b432817
commit 8c6609943b

@ -1154,6 +1154,15 @@ void CClientEditionModule::startingScenario(class NLNET::IModuleProxy * /* serve
{ {
ok = true; ok = true;
connectionState = "uiR2EDUploadScenario"; connectionState = "uiR2EDUploadScenario";
#if !FINAL_VERSION
string filename = CFile::findNewFile("scenario.rt.txt");
COFile output(filename);
std::string ss;
rtDataPtr->serialize(ss);
output.serialBuffer((uint8*)ss.c_str(),(uint)ss.size());
output.flush();
#endif
} }
else else
{ {

Loading…
Cancel
Save