allow empty string for action info element

This commit is contained in:
2024-07-29 20:20:59 -05:00
committed by Celtic Minstrel
parent e1bfea8302
commit 0935b9ce19

View File

@@ -113,7 +113,7 @@ std::map<std::string,std::string> info_from_action(Element& action) {
std::map<std::string,std::string> info = {};
Element* next_child = action.FirstChildElement(false);
while(next_child){
info[next_child->Value()] = next_child->GetText();
info[next_child->Value()] = next_child->GetTextOrDefault("");
next_child = next_child->NextSiblingElement(false);
}
return info;