Don't send call stack when a model card id is passed in SendError

This commit is contained in:
Ralph Wessel
2024-11-07 18:26:01 +00:00
parent 73df695458
commit 09b7ae77d5
@@ -39,7 +39,7 @@ bool SendError::fillInventory(active::serialise::Inventory& inventory) const {
{
{ fieldID[messageID], messageID, element },
{ fieldID[cardID], cardID, element, !modelCardID.empty() },
{ fieldID[stackID], stackID, element },
{ fieldID[stackID], stackID, element, modelCardID.empty() }, //Field not included when a model card is sent
},
}.withType(&typeid(SendError)));
return true;