1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed AddStackMarkableObject with base append fields

This commit is contained in:
Brian Fiete 2025-01-28 17:17:24 -08:00
parent 9baf0ead21
commit d9ce23ac8e
3 changed files with 18 additions and 9 deletions

View file

@ -16739,14 +16739,8 @@ void BfExprEvaluator::CreateObject(BfObjectCreateExpression* objCreateExpr, BfAs
if (!needsCall)
{
for (auto& fieldInst : typeInstance->mFieldInstances)
{
if (fieldInst.IsAppendedObject())
{
needsCall = true;
break;
}
}
if (typeInstance->HasAppendedField(true))
needsCall = true;
}
if (needsCall)