Fix sandbox panel "ghost" button oversight.
Now defaults to ghost if you don't have aghost perms.
This commit is contained in:
@@ -129,7 +129,8 @@ namespace Content.Server.Sandbox
|
|||||||
}
|
}
|
||||||
|
|
||||||
var player = _playerManager.GetSessionByChannel(message.MsgChannel);
|
var player = _playerManager.GetSessionByChannel(message.MsgChannel);
|
||||||
_shell.ExecuteCommand(player, $"aghost");
|
|
||||||
|
_shell.ExecuteCommand(player, _conGroupController.CanCommand(player, "aghost") ? "aghost" : "ghost");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SandboxSuicideReceived(MsgSandboxSuicide message)
|
private void SandboxSuicideReceived(MsgSandboxSuicide message)
|
||||||
|
|||||||
Reference in New Issue
Block a user