Skip to content

Commit

Permalink
fix overhead names permission bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Jul 26, 2019
1 parent ceadca4 commit f611c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vMenu/FunctionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ private async Task PlayerOverheadNamesControl()

if (MainMenu.PermissionsSetupComplete && MainMenu.ConfigOptionsSetupComplete && MainMenu.MiscSettingsMenu != null)
{
bool enabled = MainMenu.MiscSettingsMenu.MiscShowOverheadNames;
bool enabled = MainMenu.MiscSettingsMenu.MiscShowOverheadNames && IsAllowed(Permission.MSOverheadNames);
if (!enabled)
{
for (var i = 0; i < 255; i++)
Expand Down

0 comments on commit f611c90

Please sign in to comment.