mods - mobs - fix stop mob attacking if player isnt seen when explode
* the stop is only after double check , but must be after first also
This commit is contained in:
parent
7f27485889
commit
2b835e27e2
@ -2561,6 +2561,7 @@ function mob_class:do_states(dtime)
|
|||||||
--print(" ** stop attacking **", self.name, self.health, dist, self.view_range)
|
--print(" ** stop attacking **", self.name, self.health, dist, self.view_range)
|
||||||
self:stop_attack()
|
self:stop_attack()
|
||||||
end
|
end
|
||||||
|
self:stop_attack()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user