Fixed crash when exporting assets

This commit is contained in:
KiritoDv
2024-05-15 20:45:55 -06:00
parent b6524bfb13
commit 6a0fcac225
+1 -1
View File
@@ -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));