fix wrong id for subs

This commit is contained in:
Green Sky 2024-01-14 17:13:31 +01:00
parent ddb0066733
commit 759cd414ab
No known key found for this signature in database

View File

@ -152,7 +152,7 @@ void Bridge::registerCommands(void) {
" '" +
(_cr.all_of<Contact::Components::Name>(sub_c) ? _cr.get<Contact::Components::Name>(sub_c).name : "<unk>") +
"'" +
(_cr.all_of<Contact::Components::ID>(sub_c) ? " id:" + bin2hex(vgc.id) : "")
(_cr.all_of<Contact::Components::ID>(sub_c) ? " id:" + bin2hex(_cr.get<Contact::Components::ID>(sub_c).data) : "")
);
}