Interaction rework.
IActivate is now more used. IAttackHand falls back to IActivate.
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
continue;
|
||||
|
||||
var distanceSquared = (storagePos - attachedEntity.Transform.WorldPosition).LengthSquared;
|
||||
if (distanceSquared > InteractionSystem.INTERACTION_RANGE_SQUARED)
|
||||
if (distanceSquared > InteractionSystem.InteractionRangeSquared)
|
||||
{
|
||||
storageComp.UnsubscribeSession(session);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user