Merge pull request #2095 from metalgearsloth/ai_melee
Fix AI melee combat
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Content.Server.GameObjects.EntitySystems.Click
|
|||||||
|
|
||||||
if (entity.TryGetComponent(out CombatModeComponent combatMode) && combatMode.IsInCombatMode)
|
if (entity.TryGetComponent(out CombatModeComponent combatMode) && combatMode.IsInCombatMode)
|
||||||
{
|
{
|
||||||
DoAttack(entity, coords, false);
|
DoAttack(entity, coords, false, uid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user