Fix artifact verb permissions (#14163)

This commit is contained in:
Leon Friedrich 2023-02-19 06:44:53 +13:00 committed by GitHub
parent 766b05eb43
commit 458487a07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ namespace Content.Server.Administration.Systems
}
// XenoArcheology
if (TryComp<ArtifactComponent>(args.Target, out var artifact))
if (_adminManager.IsAdmin(player) && TryComp<ArtifactComponent>(args.Target, out var artifact))
{
// make artifact always active (by adding timer trigger)
args.Verbs.Add(new Verb()