fix attack glitch when jumping

master
TenPlus1 2016-01-06 18:01:28 +00:00
parent b106cbca24
commit 186475ed79
1 changed files with 4 additions and 2 deletions

View File

@ -415,8 +415,10 @@ do_jump = function(self)
})
end
else
self.state = "stand"
set_animation(self, "stand")
if self.state ~= "attack" then
self.state = "stand"
set_animation(self, "stand")
end
end
end