attempt to fix dragon attack behaviour

master
D00Med 2016-09-10 07:05:19 +10:00
parent ae6ead6e59
commit 80ed655e5e
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
local step_custom = function(self, dtime)
if self.driver then
lib_mount.drive(self, dtime, "walk", "stand", true)
if self.state == "attack" then
self.state = nil
end
return false
end
return true