1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 05:50:17 +01:00

fix "stand" mobs fall jitter

This commit is contained in:
TenPlus1 2021-07-13 16:56:53 +01:00
parent e50d04a6aa
commit 7fbfd9d59c

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