summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-05-15 20:45:55 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-05-15 20:45:55 -0600
commit6a0fcac225978f4f91636276855306048f154d1d (patch)
tree2bd848740d02a065a5ca9d2afa0e763abd2ccd7c
parentb6524bfb136bb18434dac06fbffb349f83ce4af1 (diff)
Fixed crash when exporting assets
-rw-r--r--src/Companion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index ce915cb..75c077a 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -441,7 +441,7 @@ bool Companion::NodeHasChanges(const std::string& path) {
if(this->gHashNode[path]) {
auto entry = GetSafeNode<YAML::Node>(this->gHashNode, path);
- const auto hash = GetSafeNode<std::string>(entry, "hash");
+ const auto hash = GetSafeNode<std::string>(entry, "hash", "no-hash");
auto modes = GetSafeNode<YAML::Node>(entry, "extracted");
auto extracted = GetSafeNode<bool>(modes, ExportTypeToString(this->gConfig.exporterType));