fix a minor formatting bug

This commit is contained in:
Florian Stinglmayr 2022-02-07 16:56:38 +01:00
parent cb19d526eb
commit bd50962794
2 changed files with 4 additions and 4 deletions

View File

@ -39,8 +39,8 @@ namespace EliteBGS.BGS {
.ToArray() .ToArray()
; ;
if (sold == null && sold.Length > 0) { if (sold == null || sold.Length <= 0) {
return builder.ToString(); return "";
} }
foreach (SellCargo sell in sold) { foreach (SellCargo sell in sold) {

View File

@ -60,8 +60,8 @@ namespace EliteBGS.BGS {
.ToArray() .ToArray()
; ;
if (sold == null && sold.Length > 0) { if (sold == null || sold.Length <= 0) {
return builder.ToString(); return "";
} }