[Fix] Attack for Militia faction.
This commit is contained in:
parent
4b07e86acd
commit
11629d1526
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user