summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-03-10 15:51:51 -0600
committerLywx <kiritodev01@gmail.com>2024-03-10 15:58:45 -0600
commitef6befae9a18ff8bf10f34af205ba696cb50e921 (patch)
treea62727dc76645857eb1a2d0f66e61d77ea256e30 /src/Companion.cpp
parent8d9374a113490ea89a8ae2e89f28837073326143 (diff)
Skipped autogenerated assets
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index 81044b3..b95566c 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -795,6 +795,10 @@ std::optional<std::vector<std::tuple<std::string, YAML::Node>>> Companion::GetNo
for(auto& [addr, tpl] : this->gAddrMap[this->gCurrentFile]){
auto [name, node] = tpl;
const auto n_type = GetSafeNode<std::string>(node, "type");
+ if(node["autogen"]){
+ SPDLOG_DEBUG("Skipping autogenerated asset {}", name);
+ continue;
+ }
if(n_type == type){
nodes.push_back(tpl);
}