diff --git a/src/blackboard.cpp b/src/blackboard.cpp index ea5f21270..0f1f304db 100644 --- a/src/blackboard.cpp +++ b/src/blackboard.cpp @@ -143,14 +143,7 @@ void Blackboard::createEntry(const std::string& key, const TypeInfo& info) { if(StartWith(key, '@')) { - if(auto parent = parent_bb_.lock()) - { - parent->createEntry(key, info); - } - else - { - createEntryImpl(key.substr(1, key.size() - 1), info); - } + rootBlackboard()->createEntryImpl(key.substr(1, key.size() - 1), info); } else {