fix context menu bugs (#5527)
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
using Content.Client.Administration.UI.Tabs.AtmosTab;
|
||||
using Content.Shared.Verbs;
|
||||
using Robust.Client.Console;
|
||||
using Robust.Client.ViewVariables;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
|
||||
namespace Content.Client.Verbs
|
||||
{
|
||||
@@ -33,6 +31,7 @@ namespace Content.Client.Verbs
|
||||
verb.Text = "View Variables";
|
||||
verb.IconTexture = "/Textures/Interface/VerbIcons/vv.svg.192dpi.png";
|
||||
verb.Act = () => _viewVariablesManager.OpenVV(args.Target);
|
||||
verb.ClientExclusive = true; // opening VV window is client-side. Don't ask server to run this verb.
|
||||
args.Verbs.Add(verb);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user