don't output total influence if it is zero

This commit is contained in:
Florian Stinglmayr 2021-09-24 16:50:30 +02:00
parent f45f860735
commit 55677f2965

View File

@ -119,7 +119,9 @@ namespace NonaBGS.BGS {
output.Append(")\n\n"); output.Append(")\n\n");
} }
output.AppendFormat("Total Influence: {0}\n\n", total_influence); if (total_influence > 0) {
output.AppendFormat("Total Influence: {0}\n\n", total_influence);
}
return output.ToString(); return output.ToString();
} }