From c7043d20b17b55d5e69d55783a2744987522ac3b Mon Sep 17 00:00:00 2001 From: Profane McBane Date: Sat, 8 Feb 2020 19:46:45 +0000 Subject: [PATCH] Fixes melee combat (#655) --- .../GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs b/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs index 1d896aa9c9..def7fc56dc 100644 --- a/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs +++ b/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs @@ -134,7 +134,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee for (var i = 0; i < increments; i++) { var castAngle = new Angle(baseAngle + increment * i); - var res = _physicsManager.IntersectRay(mapId, new CollisionRay(position, castAngle.ToVec(), 19), _range, ignore); + var res = _physicsManager.IntersectRay(mapId, new CollisionRay(position, castAngle.ToVec(), 23), _range, ignore); if (res.HitEntity != null) { resSet.Add(res.HitEntity);