Skip to content
Snippets Groups Projects
Commit 935807ea authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fix-undefined-for-brands' into 'pregmod-master'

fix undefined for brands

Closes #1961

See merge request pregmodfan/fc-pregmod!7240
parents 4150992e 802939d3
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,10 @@ App.Desc.brand = function(slave, surface) {
if (surface === "belly" && setup.fakeBellies.includes(slave.bellyAccessory) && slave.brand.belly) {
r += `${His} fake belly has the same brand, ${slave.brand.belly}, as ${his} real one. `;
} else {
r += `${He} has ${desc(surface)}. `;
const description = desc(surface);
if (description) {
r += `${He} has ${description}. `;
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment