attempt to fix dragon attack behaviour
This commit is contained in:
parent
ae6ead6e59
commit
80ed655e5e
@ -3,6 +3,9 @@
|
|||||||
local step_custom = function(self, dtime)
|
local step_custom = function(self, dtime)
|
||||||
if self.driver then
|
if self.driver then
|
||||||
lib_mount.drive(self, dtime, "walk", "stand", true)
|
lib_mount.drive(self, dtime, "walk", "stand", true)
|
||||||
|
if self.state == "attack" then
|
||||||
|
self.state = nil
|
||||||
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user