]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Change `visualize` command perms to VarEdit instead of Admin (#35221)
authorSimon <63975668+Simyon264@users.noreply.github.com>
Sun, 16 Feb 2025 19:06:53 +0000 (20:06 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2025 19:06:53 +0000 (20:06 +0100)
People with VarEdit can use VV but can't use visualize, makes no sense.

Has headmin approval here: https://canary.discord.com/channels/310555209753690112/1193403928096821358/1340756276371787827

Content.Server/Toolshed/Commands/VisualizeCommand.cs

index 41613cab86b55ce34663299b8593c624d822e189..9b0892befa10b5f14a78a7e891427174e92fcb6b 100644 (file)
@@ -9,7 +9,7 @@ using Robust.Shared.Toolshed.Errors;
 
 namespace Content.Server.Toolshed.Commands;
 
-[ToolshedCommand, AdminCommand(AdminFlags.Admin)]
+[ToolshedCommand, AdminCommand(AdminFlags.VarEdit)]
 public sealed class VisualizeCommand : ToolshedCommand
 {
     [Dependency] private readonly EuiManager _euiManager = default!;