[Fix] Attack for Militia faction.
This commit is contained in:
parent
4b07e86acd
commit
11629d1526
@ -14,9 +14,9 @@ function control()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Required "attacked" function
|
-- Required "attacked" function
|
||||||
function attacked(attecker)
|
function attacked(attacker)
|
||||||
task = ai.taskname()
|
task = ai.taskname()
|
||||||
if task ~= "attack" and task "runaway" then
|
if task ~= "attack" and task ~= "runaway" then
|
||||||
-- Some taunting.
|
-- Some taunting.
|
||||||
taunt(attacker)
|
taunt(attacker)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user