Skip to content

Commit

Permalink
submissions - when generating a title, do not put "unknown game" if i…
Browse files Browse the repository at this point in the history
…t is assigned to the sub
  • Loading branch information
adelikat committed Sep 12, 2024
1 parent 11d4682 commit 3da3b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TASVideos.Data/Entity/Submission.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void GenerateTitle()
}

var gameName = GameName;
if (Game is not null)
if (Game is not null && Game.Id > 0)
{
gameName = Game.DisplayName;
}
Expand Down

0 comments on commit 3da3b95

Please sign in to comment.