give mobs a slightly heigher jump height

so they don't need 2 tries to jump on a node
This commit is contained in:
cora 2022-10-14 02:44:23 +02:00
parent c855f51829
commit d90b3c046a

View File

@ -1449,7 +1449,7 @@ local do_jump = function(self)
local v = self.object:get_velocity() local v = self.object:get_velocity()
v.y = self.jump_height v.y = self.jump_height + 0.1
set_animation(self, "jump") -- only when defined set_animation(self, "jump") -- only when defined