diff --git a/Source/Game/AI/SmartScripts/SmartScript.cs b/Source/Game/AI/SmartScripts/SmartScript.cs index 291c82fc2..b33460178 100644 --- a/Source/Game/AI/SmartScripts/SmartScript.cs +++ b/Source/Game/AI/SmartScripts/SmartScript.cs @@ -1106,6 +1106,8 @@ namespace Game.AI if (_me == null) break; + targets.RemoveAll(target => !target.IsUnit()); + if (targets.Empty()) break;