pass debug party preference to launch command

This commit is contained in:
2025-01-12 11:06:32 -06:00
committed by Celtic Minstrel
parent 3b3d4fd4f8
commit 5d56415299

View File

@@ -160,9 +160,14 @@ void launch_scenario(eLaunchType type) {
}
}
// allow specifying a debug party path as an editor preference
std::string default_party = get_string_pref("DefaultPartyPath");
if(!(get_bool_pref("ForceDefaultParty", false) || default_party.empty())){
command_stream << " \"" << default_party << "\"";
}
LOG(command_stream.str());
// TODO allow specifying a debug party path as an editor preference
bp::child ch(command_stream.str(), bp::std_out > stdout);
ch.detach();