[Fix] Attack for Militia faction.

This commit is contained in:
Allanis 2013-03-12 23:56:23 +00:00
parent 4b07e86acd
commit 11629d1526

View File

@ -14,9 +14,9 @@ function control()
end
-- Required "attacked" function
function attacked(attecker)
function attacked(attacker)
task = ai.taskname()
if task ~= "attack" and task "runaway" then
if task ~= "attack" and task ~= "runaway" then
-- Some taunting.
taunt(attacker)