Skip to content

Commit fc5e10a

Browse files
committed
This should fix issue #12
1 parent 6f2a449 commit fc5e10a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MenuAPI/Menu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ internal async void Draw()
11051105
SetTextFont(font);
11061106
SetTextScale(size, size);
11071107
SetTextJustification(2);
1108-
if (MenuSubtitle.Contains("~") || (CounterPreText ?? "").Contains("~") || string.IsNullOrEmpty(MenuTitle))
1108+
if ((MenuSubtitle ?? "").Contains("~") || (CounterPreText ?? "").Contains("~") || string.IsNullOrEmpty(MenuTitle))
11091109
{
11101110
AddTextComponentSubstringPlayerName(counterText.ToUpper());
11111111
}

0 commit comments

Comments
 (0)