A bunch of AttachedEntity bullshit
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Content.Server.Traitor.Uplink.Commands
|
||||
|
||||
// Finally add uplink
|
||||
if (!entityManager.EntitySysManager.GetEntitySystem<UplinkSystem>()
|
||||
.AddUplink(user.Value, uplinkAccount, uplinkEntity))
|
||||
.AddUplink(user, uplinkAccount, uplinkEntity))
|
||||
{
|
||||
shell.WriteLine(Loc.GetString("Failed to add uplink to the player"));
|
||||
return;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Content.Server.Traitor.Uplink.Telecrystal
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
if (args.Target == null || !EntityManager.TryGetComponent(args.Target, out UplinkComponent? uplink))
|
||||
if (args.Target == null || !EntityManager.TryGetComponent(args.Target.Value, out UplinkComponent? uplink))
|
||||
return;
|
||||
|
||||
// TODO: when uplink will have some auth logic (like PDA ringtone code)
|
||||
|
||||
Reference in New Issue
Block a user