Add uplink command completions (#9742)

This commit is contained in:
Leon Friedrich
2022-07-15 13:14:37 +12:00
committed by GitHub
parent 37b883e9cb
commit 4100516bde
3 changed files with 42 additions and 10 deletions

View File

@@ -188,6 +188,11 @@ namespace Content.Server.Traitor.Uplink
var uplink = uplinkEntity.Value.EnsureComponent<UplinkComponent>();
SetAccount(uplink, account);
if (!HasComp<PDAComponent>(uplinkEntity.Value))
uplink.ActivatesInHands = true;
// TODO add BUI. Currently can't be done outside of yaml -_-
return true;
}