Reduce action blocker uses and add target entity to CanInteract (#6655)
This commit is contained in:
@@ -102,9 +102,6 @@ namespace Content.Server.Tools
|
||||
return false;
|
||||
}
|
||||
|
||||
if (user != null && !_actionBlockerSystem.CanInteract(user.Value))
|
||||
return false;
|
||||
|
||||
solution.RemoveReagent(welder.FuelReagent, welder.FuelLitCost);
|
||||
|
||||
welder.Lit = true;
|
||||
@@ -140,9 +137,6 @@ namespace Content.Server.Tools
|
||||
// Optional components.
|
||||
Resolve(uid, ref item, ref light, ref sprite);
|
||||
|
||||
if (user != null && !_actionBlockerSystem.CanInteract(user.Value))
|
||||
return false;
|
||||
|
||||
welder.Lit = false;
|
||||
|
||||
// TODO: Make all this use visualizers.
|
||||
|
||||
Reference in New Issue
Block a user