From 0935b9ce194e0d81bbd83e3748e65a7d494cc360 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 29 Jul 2024 20:20:59 -0500 Subject: [PATCH] allow empty string for action info element --- src/tools/replay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/replay.cpp b/src/tools/replay.cpp index c103afdd..0b86d312 100644 --- a/src/tools/replay.cpp +++ b/src/tools/replay.cpp @@ -113,7 +113,7 @@ std::map info_from_action(Element& action) { std::map 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;