From 6a0fcac225978f4f91636276855306048f154d1d Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Wed, 15 May 2024 20:45:55 -0600 Subject: [PATCH] Fixed crash when exporting assets --- src/Companion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(this->gHashNode, path); - const auto hash = GetSafeNode(entry, "hash"); + const auto hash = GetSafeNode(entry, "hash", "no-hash"); auto modes = GetSafeNode(entry, "extracted"); auto extracted = GetSafeNode(modes, ExportTypeToString(this->gConfig.exporterType));