Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from Corvax-Frontier/Zekins3366-patch-1
Browse files Browse the repository at this point in the history
ХотФикс багов и неисправностей
  • Loading branch information
Zekins3366 authored Apr 15, 2024
2 parents dafe087 + 7c9e322 commit 89d0718
Show file tree
Hide file tree
Showing 25 changed files with 888 additions and 819 deletions.
4 changes: 1 addition & 3 deletions Content.Client/Lathe/UI/LatheMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@
<BoxContainer
VerticalExpand="True"
HorizontalExpand="True"
Orientation="Vertical"
MinHeight="225"
>
Orientation="Vertical">
<Label Text="{Loc 'lathe-menu-materials-title'}" Margin="5 5 5 5" HorizontalAlignment="Center"/>
<BoxContainer
Orientation="Vertical"
Expand Down
10 changes: 9 additions & 1 deletion Content.Server/Administration/Commands/AdminWhoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Content.Server.Administration.Commands;

[AdminCommand(AdminFlags.Admin)]
[AnyCommand] // Corvax: Allow use to everyone
public sealed class AdminWhoCommand : IConsoleCommand
{
public string Command => "adminwho";
Expand All @@ -19,6 +19,14 @@ public void Execute(IConsoleShell shell, string argStr, string[] args)
var adminMgr = IoCManager.Resolve<IAdminManager>();
var afk = IoCManager.Resolve<IAfkManager>();

var seeStealth = true;

// If null it (hopefully) means it is being called from the console.
if (shell.Player != null)
{
var playerData = adminMgr.GetAdminData(shell.Player);
}

var sb = new StringBuilder();
var first = true;
foreach (var admin in adminMgr.ActiveAdmins)
Expand Down
Loading

0 comments on commit 89d0718

Please sign in to comment.