diff --git a/binaries/data/mods/official/entities/template_entity_script.js b/binaries/data/mods/official/entities/template_entity_script.js index ad006318e1..355a94f05d 100644 --- a/binaries/data/mods/official/entities/template_entity_script.js +++ b/binaries/data/mods/official/entities/template_entity_script.js @@ -577,7 +577,7 @@ function damage( dmg, inflictor ) // You know, I think this is quite possibly the first AI code the AI divlead has written // for 0 A.D.... if( this.isIdle() ) - this.order( ORDER_GENERIC, inflictor, ACTION_ATTACK ); + this.order( ORDER_GENERIC, inflictor, getAttackAction( this, inflictor ) ); } }