record installed scenario files

This commit is contained in:
2024-08-08 13:08:32 -05:00
committed by Celtic Minstrel
parent a13e7cdc3b
commit 740810d7d2

View File

@@ -20,6 +20,8 @@
#include "fileio/fileio.hpp"
#include "tools/cursors.hpp"
#include <boost/filesystem.hpp>
#include "replay.hpp"
#include <sstream>
#define DONE_BUTTON_ITEM 1
@@ -362,6 +364,13 @@ std::vector<scen_header_type> build_scen_headers() {
return a < b;
});
}
if(recording){
std::ostringstream scen_names;
for(scen_header_type header : scen_headers){
scen_names << header.file << std::endl;
}
record_action("build_scen_headers", scen_names.str());
}
return scen_headers;
}