1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-22 17:00:26 +01:00

use api functions for spider

This commit is contained in:
tenplus1 2023-10-13 08:40:10 +01:00
parent 5adb1caf70
commit a1030bf7d5

View File

@ -203,7 +203,9 @@ mobs:register_mob("mobs_monster:spider", {
-- move up facing
v.x = 0 ; v.y = 0
v.y = self.jump_height
mobs:set_animation(self, "jump")
self:set_animation("jump")
self.object:set_velocity(v)
end,