fix "stand" mobs fall jitter

master
TenPlus1 2021-07-13 16:56:53 +01:00
parent e50d04a6aa
commit 7fbfd9d59c
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ function mob_class:set_velocity(v)
-- halt mob if it has been ordered to stay
if self.order == "stand" then
self.object:set_velocity({x = 0, y = 0, z = 0})
self.object:set_velocity({x = 0, y = self.fall_speed, z = 0})
return
end