Skip to content

Commit

Permalink
record installed scenario files
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Aug 9, 2024
1 parent a13e7cd commit 740810d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/game/boe.fileio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 740810d

Please sign in to comment.