Skip to content

Commit

Permalink
This should fix issue #12
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Jun 25, 2019
1 parent 6f2a449 commit fc5e10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MenuAPI/Menu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ internal async void Draw()
SetTextFont(font);
SetTextScale(size, size);
SetTextJustification(2);
if (MenuSubtitle.Contains("~") || (CounterPreText ?? "").Contains("~") || string.IsNullOrEmpty(MenuTitle))
if ((MenuSubtitle ?? "").Contains("~") || (CounterPreText ?? "").Contains("~") || string.IsNullOrEmpty(MenuTitle))
{
AddTextComponentSubstringPlayerName(counterText.ToUpper());
}
Expand Down

0 comments on commit fc5e10a

Please sign in to comment.