misc: cosmetic changes

This commit is contained in:
ds 2020-09-10 13:54:00 +03:00
commit c65272e65b
6 changed files with 8 additions and 6 deletions

View file

@ -1832,11 +1832,11 @@ bool BotGraph::saveGraphData () {
author = m_editor->v.netname.chars ();
}
else {
author = "YAPB";
author = product.name;
}
// mark as official
if (author.startsWith ("YAPB")) {
if (author.startsWith (product.name)) {
options |= StorageOption::Official;
}