We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb788e commit 421ef30Copy full SHA for 421ef30
1 file changed
src/engine/internal/engine.cpp
@@ -1506,6 +1506,11 @@ std::shared_ptr<Entity> Engine::getEntity(const std::string &id)
1506
if (broadcast)
1507
return std::static_pointer_cast<Entity>(broadcast);
1508
1509
+ // Comments
1510
+ auto comment = getComment(id);
1511
+ if (comment)
1512
+ return std::static_pointer_cast<Entity>(comment);
1513
+
1514
return nullptr;
1515
}
1516
0 commit comments