Adjust interaction ordering & interaction conditions (#6387)
This commit is contained in:
@@ -56,6 +56,7 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
var targetEntity = args.Target;
|
||||
if (targetEntity == null ||
|
||||
!args.CanReach ||
|
||||
!EntityManager.TryGetComponent(uid, out SmokableComponent? smokable) ||
|
||||
smokable.State == SmokableState.Lit)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user