fix attack glitch when jumping

This commit is contained in:
TenPlus1 2016-01-06 18:01:28 +00:00
parent b106cbca24
commit 186475ed79

View File

@ -415,10 +415,12 @@ do_jump = function(self)
})
end
else
if self.state ~= "attack" then
self.state = "stand"
set_animation(self, "stand")
end
end
end
-- blast damage to entities nearby (modified from TNT mod)
function entity_physics(pos, radius)