@@ -24,9 +24,11 @@ using Content.Shared.StatusEffect;
|
||||
using Content.Shared.Tag;
|
||||
using Content.Shared.Weapons.Melee;
|
||||
using Content.Shared.Weapons.Melee.Events;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Players;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Server.Weapons.Melee;
|
||||
@@ -172,7 +174,7 @@ public sealed class MeleeWeaponSystem : SharedMeleeWeaponSystem
|
||||
EntityCoordinates targetCoordinates;
|
||||
Angle targetLocalAngle;
|
||||
|
||||
if (session is { } pSession)
|
||||
if (session is IPlayerSession pSession)
|
||||
{
|
||||
(targetCoordinates, targetLocalAngle) = _lag.GetCoordinatesAngle(target, pSession);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user