remove admin requirement for debug targetname

This commit is contained in:
rtldg 2022-07-22 23:23:58 +00:00
parent 1c82605db5
commit 68a57b9123

View File

@ -740,12 +740,9 @@ Action ShowHUDMenu(int client, int item)
menu.AddItem(sInfo, sHudItem);
}
if (CheckCommandAccess(client, "shavit_admin", ADMFLAG_BAN))
{
FormatEx(sInfo, 16, "!%d", HUD_DEBUGTARGETNAME);
FormatEx(sHudItem, 64, "%T", "HudDebugTargetname", client);
menu.AddItem(sInfo, sHudItem);
}
FormatEx(sInfo, 16, "!%d", HUD_DEBUGTARGETNAME);
FormatEx(sHudItem, 64, "%T", "HudDebugTargetname", client);
menu.AddItem(sInfo, sHudItem);
// HUD2 - disables selected elements
FormatEx(sInfo, 16, "@%d", HUD2_TIME);