1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-27 23:10:33 +02:00

Update api.lua

This commit is contained in:
Ombridride 2015-04-03 02:02:55 +02:00
parent 8cd3788fcc
commit b139227932

View File

@ -461,7 +461,7 @@ function mobs:register_mob(name, def)
else
if self.jump and self.get_velocity(self) <= 0.5 and self.object:getvelocity().y == 0 then
local v = self.object:getvelocity()
v.y = 6.5 -- 6 (in older api.lua version)
v.y = 7 -- 6/6.5 (in older api.lua version)
self.object:setvelocity(v)
end
self.set_velocity(self, self.walk_velocity)