Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 31, 2024
1 parent fd69303 commit 35cdfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3661,7 +3661,7 @@ private async void RedeemGamesInBackground(object? state = null) {
// If user omitted the name or intentionally provided the same name as key, replace it with the Steam result
name ??= key;

if (name.Equals(key, StringComparison.OrdinalIgnoreCase) && (items?.Count > 0)) {
if (((name.Length == 0) || name.Equals(key, StringComparison.OrdinalIgnoreCase)) && (items?.Count > 0)) {
name = string.Join(", ", items.Values);
}

Expand Down

0 comments on commit 35cdfbf

Please sign in to comment.