diff options
author | blert2112 <cdilts@bellsouth.net> | 2015-10-24 21:26:37 -0400 |
---|---|---|
committer | blert2112 <cdilts@bellsouth.net> | 2015-10-24 21:26:37 -0400 |
commit | 04474de70c333210e038368c4795363b8bb57282 (patch) | |
tree | 98f075409d73deb1ae27782409f727c3cfa5659f | |
parent | 2192d3627e3488bfacb724620b999a810fb46926 (diff) |
set_velocity fix
-rw-r--r-- | mobs_turtles/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobs_turtles/init.lua b/mobs_turtles/init.lua index e844a72..c0f07c3 100644 --- a/mobs_turtles/init.lua +++ b/mobs_turtles/init.lua @@ -51,7 +51,7 @@ if mobs.mod and mobs.mod == "redo" then follow = "farming:carrot", on_rightclick = function(self, clicker) self.state = "" - self.set_velocity(self, 0) + set_velocity(self, 0) self.object:set_animation({x=self.animation.hide_start, y=self.animation.hide_end}, self.animation.speed_normal, 0) minetest.after(5, function() self.state = "stand" |