Fix AI melee combat
It's just that easy. AI using the interaction system is messy and needs a refactor (there's already an existing issue for this).
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Content.Server.GameObjects.EntitySystems.Click
|
||||
|
||||
if (entity.TryGetComponent(out CombatModeComponent combatMode) && combatMode.IsInCombatMode)
|
||||
{
|
||||
DoAttack(entity, coords, false);
|
||||
DoAttack(entity, coords, false, uid);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user