Fix crash when playing a replay with no custom scenarios

This commit is contained in:
2024-08-22 21:46:53 -04:00
parent d81e613ea1
commit f2469d1694

View File

@@ -343,7 +343,7 @@ std::vector<scen_header_type> build_scen_headers() {
if(replaying){
Element& scen_headers_action = pop_next_action("build_scen_headers");
std::istringstream in(scen_headers_action.GetText());
std::istringstream in(scen_headers_action.GetText(false));
std::string scen_file;
while(std::getline(in, scen_file)){
scen_header_type scen_head;