Fixed selectedAuthor in ModBrowserLogic not being the correct value if mod.Author is null
This commit is contained in:
@@ -150,7 +150,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
void SelectMod(ModMetadata mod)
|
||||
{
|
||||
selectedMod = mod;
|
||||
selectedAuthor = "By " + mod.Author ?? "unknown author";
|
||||
selectedAuthor = "By " + (mod.Author ?? "unknown author");
|
||||
selectedDescription = (mod.Description ?? "").Replace("\\n", "\n");
|
||||
var selectedIndex = Array.IndexOf(allMods, mod);
|
||||
if (selectedIndex - modOffset > 4)
|
||||
|
||||
Reference in New Issue
Block a user