Re-do InteractionSystem IEntity -> EntityUid conversion (#5767)
This commit is contained in:
committed by
GitHub
parent
fe1836c99d
commit
e3478f894e
@@ -35,10 +35,10 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
|
||||
public void OnClickAttack(EntityUid uid, HyposprayComponent comp, ClickAttackEvent args)
|
||||
{
|
||||
var target = args.TargetEntity;
|
||||
var user = args.User;
|
||||
if (args.Target == null)
|
||||
return;
|
||||
|
||||
comp.TryDoInject(target, user);
|
||||
comp.TryDoInject(args.Target.Value, args.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user