Add lock and unlock icons to verb in LockSystem (#11336)
This commit is contained in:
@@ -193,7 +193,7 @@ namespace Content.Server.Lock
|
||||
() => TryUnlock(uid, args.User, component) :
|
||||
() => TryLock(uid, args.User, component);
|
||||
verb.Text = Loc.GetString(component.Locked ? "toggle-lock-verb-unlock" : "toggle-lock-verb-lock");
|
||||
// TODO VERB ICONS need padlock open/close icons.
|
||||
verb.IconTexture = component.Locked ? "/Textures/Interface/VerbIcons/unlock.svg.192dpi.png" : "/Textures/Interface/VerbIcons/lock.svg.192dpi.png";
|
||||
args.Verbs.Add(verb);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user